2 # Copyright (C) 2014-2018 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
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/siproxd
16 PKG_HASH
:=526ce491b0cc189e2766c62432aff3ebb995e551d7261ea32c02a90c7bf7ccd0
23 PKG_LICENSE_FILES
:=COPYING
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/siproxd
/Default
31 URL
:=http
://siproxd.sourceforge.net
/
34 define Package
/siproxd
35 $(call Package
/siproxd
/Default
)
36 DEPENDS
:=+libltdl
+libpthread
+libosip2
37 TITLE
:=SIP
(Session Initiation Protocol
) proxy
41 define Package
/siproxd
/description
42 Siproxd is a proxy
/masquerading daemon for the SIP protocol.
45 define Package
/siproxd
/conffiles
50 --with-libosip-prefix
="$(STAGING_DIR)/usr" \
51 --disable-ltdl-convenience \
55 SUBDIRS
="src scripts contrib"
57 define Package
/siproxd
/install
58 $(INSTALL_DIR
) $(1)/usr
/sbin
59 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/siproxd
$(1)/usr
/sbin
60 $(INSTALL_DIR
) $(1)/etc
/config
61 $(INSTALL_CONF
) .
/files
/siproxd.config
$(1)/etc
/config
/siproxd
62 $(INSTALL_DIR
) $(1)/etc
/init.d
63 $(INSTALL_BIN
) .
/files
/siproxd.init
$(1)/etc
/init.d
/siproxd
67 define Package
/siproxd-mod-
$(1)
68 $$(call Package
/siproxd
/Default
)
69 TITLE
:= siproxd
$(1) plugin
73 define Package
/siproxd-mod-
$(1)/install
74 $(INSTALL_DIR
) $$(1)/usr
/lib
/siproxd
75 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/siproxd
/plugin_
$(1).so
$$(1)/usr
/lib
/siproxd
78 $$(eval
$$(call BuildPackage
,siproxd-mod-
$(1)))
81 $(eval
$(call BuildPackage
,siproxd
))
82 $(eval
$(call BuildPlugin
,codecfilter
))
83 $(eval
$(call BuildPlugin
,defaulttarget
))
84 $(eval
$(call BuildPlugin
,demo
))
85 $(eval
$(call BuildPlugin
,fix_bogus_via
))
86 $(eval
$(call BuildPlugin
,fix_DTAG
))
87 $(eval
$(call BuildPlugin
,fix_fbox_anoncall
))
88 $(eval
$(call BuildPlugin
,logcall
))
89 $(eval
$(call BuildPlugin
,prefix))
90 $(eval
$(call BuildPlugin
,regex
))
91 $(eval
$(call BuildPlugin
,shortdial
))
92 $(eval
$(call BuildPlugin
,stripheader
))
93 $(eval
$(call BuildPlugin
,stun
))
94 $(eval
$(call BuildPlugin
,siptrunk
))