2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/siproxd
17 PKG_MD5SUM:=6c978eef0d00160e50073e2e2fd8c23d
19 include $(INCLUDE_DIR)/package.mk
21 define Package/siproxd
25 TITLE:=SIP (Session Initiation Protocol) proxy
26 URL:=http://siproxd.sourceforge.net/
29 #define Package/siproxd/conffiles
36 $(MAKE) -C $(PKG_BUILD_DIR) \
37 DESTDIR="$(PKG_INSTALL_DIR)" \
38 SUBDIRS="src scripts contrib" \
42 define Package/siproxd/install
43 $(INSTALL_DIR) $(1)/usr/sbin
44 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/siproxd $(1)/usr/sbin/
45 # $(INSTALL_DIR) $(1)/etc
46 # $(INSTALL_DATA) $(PKG_BUILD_DIR)/doc/siproxd.conf.example $(1)/etc/siproxd.conf
47 # $(INSTALL_CONF) $(PKG_BUILD_DIR)/doc/siproxd_passwd.cfg $(1)/etc/
48 $(INSTALL_DIR) $(1)/etc/config
49 $(INSTALL_DATA) ./files/siproxd.config $(1)/etc/config/siproxd
50 $(INSTALL_DIR) $(1)/etc/init.d
51 $(INSTALL_BIN) ./files/siproxd.init $(1)/etc/init.d/siproxd
54 $(eval $(call BuildPackage,siproxd))