[packages] add basic rtpproxy package
[openwrt/svn-archive/archive.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.0
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:=eb4e650ec00618a77a35f0abb91f988a
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/rtpproxy
21 SECTION:=net
22 CATEGORY:=Network
23 DEPENDS:=
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 $(CP) $(PKG_INSTALL_DIR)/usr/bin/rtpproxy $(1)/usr/bin/
39 endef
40
41 $(eval $(call BuildPackage,rtpproxy))