2 # Copyright (C) 2014 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE_URL
:=git
://github.com
/sippy
/rtpproxy.git
16 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
17 PKG_SOURCE_VERSION
:=d5926892630139bcbe55d1f3fa36764c881648bc
18 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-$(PKG_SOURCE_VERSION
).
tar.gz
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_CHECK_FORMAT_SECURITY
:=0
24 PKG_LICENSE
:=BSD-2-Clause
25 PKG_LICENSE_FILES
:=COPYING
27 include $(INCLUDE_DIR
)/package.mk
29 define Package
/rtpproxy
33 DEPENDS
:=+libpthread
+librt
34 TITLE
:=RTP
(Realtime Transport Protocol
) proxy
35 URL
:=http
://www.rtpproxy.org
/
38 define Package
/rtpproxy
/install
39 $(INSTALL_DIR
) $(1)/usr
/bin
40 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/rtpproxy
$(1)/usr
/bin
/
42 $(INSTALL_DIR
) $(1)/etc
/init.d
43 $(INSTALL_BIN
) .
/files
/rtpproxy.init
$(1)/etc
/init.d
/rtpproxy
45 $(INSTALL_DIR
) $(1)/etc
/config
46 $(INSTALL_BIN
) .
/files
/rtpproxy.config
$(1)/etc
/config
/rtpproxy
49 $(eval
$(call BuildPackage
,rtpproxy
))