6397c8de26c786bbe57aee400dfe51735f1ce402
[packages.git] / net / rtpproxy / Makefile
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=rtpproxy
11 PKG_VERSION:=1.2.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://b2bua.org/chrome/site/
16 PKG_MD5SUM:=b0b5d6cdce3f17cdbbac473c11a2d0e5
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/rtpproxy
21   SECTION:=net
22   CATEGORY:=Network
23   DEPENDS:=+libpthread
24   TITLE:=RTP (Realtime Transport Protocol) proxy
25   URL:=http://www.rtpproxy.org/
26 endef
27
28 # uses GNU configure
29
30 define Build/Compile
31         $(MAKE) -C $(PKG_BUILD_DIR) \
32                 DESTDIR="$(PKG_INSTALL_DIR)" \
33                 all install
34 endef
35
36 define Package/rtpproxy/install
37         $(INSTALL_DIR) $(1)/usr/bin
38         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtpproxy $(1)/usr/bin/
39 endef
40
41 $(eval $(call BuildPackage,rtpproxy))