mirror of
https://github.com/openwrt/telephony.git
synced 2025-12-26 11:16:39 +04:00
Several method signatures have changed in bcg729 1.0.1 and higher. This issue was already resolved in upstream. In the current development branch, there is no compilable version. Due to those changes, I have disabled linking against bcg729 since we have bcg729 at version 1.0.2. By disabling bcg729 the internal g729 rtpproxy API will be used. Signed-off-by: Jiri Slachta <jiri@slachta.eu>
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
#
|
|
# Copyright (C) 2014 OpenWrt.org
|
|
# Copyright (C) 2017 Jiri Slachta <jiri@slachta.eu>
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=rtpproxy
|
|
PKG_VERSION:=2.0.0
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/sippy/rtpproxy.git
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_SOURCE_VERSION:=d5926892630139bcbe55d1f3fa36764c881648bc
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_CHECK_FORMAT_SECURITY:=0
|
|
PKG_INSTALL:=1
|
|
|
|
PKG_LICENSE:=BSD-2-Clause
|
|
PKG_LICENSE_FILES:=COPYING
|
|
PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/rtpproxy
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
SUBMENU:=Telephony
|
|
DEPENDS:=+libpthread +librt
|
|
TITLE:=RTP (Realtime Transport Protocol) proxy
|
|
URL:=http://www.rtpproxy.org/
|
|
endef
|
|
|
|
CONFIGURE_VARS += \
|
|
ac_cv_lib_bcg729_initBcg729EncoderChannel=no
|
|
|
|
define Package/rtpproxy/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtpproxy $(1)/usr/bin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/rtpproxy.init $(1)/etc/init.d/rtpproxy
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_BIN) ./files/rtpproxy.config $(1)/etc/config/rtpproxy
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,rtpproxy))
|