45 lines
1 KiB
Makefile
45 lines
1 KiB
Makefile
#
|
|
# Copyright (C) 2014 OpenWrt.org
|
|
#
|
|
# 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:=1.2.1
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=http://b2bua.org/chrome/site/
|
|
PKG_MD5SUM:=b0b5d6cdce3f17cdbbac473c11a2d0e5
|
|
PKG_CHECK_FORMAT_SECURITY:=0
|
|
PKG_INSTALL:=1
|
|
|
|
PKG_LICENSE:=BSD-2-Clause
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/rtpproxy
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
SUBMENU:=Telephony
|
|
DEPENDS:=+libpthread
|
|
TITLE:=RTP (Realtime Transport Protocol) proxy
|
|
URL:=http://www.rtpproxy.org/
|
|
endef
|
|
|
|
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))
|