2 # Copyright (C) 2006-2011 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
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=@SF
/siproxd
15 PKG_MD5SUM
:=1a6f9d13aeb2d650375c9a346ac6cbaf
17 PKG_BUILD_DEPENDS
:=libosip2
22 include $(INCLUDE_DIR
)/package.mk
24 define Package
/siproxd
28 DEPENDS
:=+libltdl
+libpthread
29 TITLE
:=SIP
(Session Initiation Protocol
) proxy
30 URL
:=http
://siproxd.sourceforge.net
/
33 define Package
/siproxd
/description
34 Siproxd is a proxy
/masquerading daemon for the SIP protocol.
37 define Package
/siproxd
/conffiles
42 --enable-static-libosip2 \
43 --with-libosip-prefix
="$(STAGING_DIR)/usr" \
48 SUBDIRS
="src scripts contrib" \
49 LIBLTDL
="$(STAGING_DIR)/usr/lib/libltdl.la" \
51 define Package
/siproxd
/install
52 $(INSTALL_DIR
) $(1)/usr
/sbin
53 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/siproxd
$(1)/usr
/sbin
54 $(INSTALL_DIR
) $(1)/etc
/config
55 $(INSTALL_CONF
) .
/files
/siproxd.config
$(1)/etc
/config
/siproxd
56 $(INSTALL_DIR
) $(1)/etc
/init.d
57 $(INSTALL_BIN
) .
/files
/siproxd.init
$(1)/etc
/init.d
/siproxd
60 $(eval
$(call BuildPackage
,siproxd
))