2 # Copyright (C) 2016 OpenWrt.org
3 # Copyright (C) 2016 Cesnet, z.s.p.o.
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
11 PKG_NAME
:=asterisk-chan-sccp
14 # Updated to v4.3.3 release
15 PKG_SOURCE_URL
:=https
://github.com
/chan-sccp
/chan-sccp.git
16 PKG_SOURCE_VERSION
:=968caa458920965c5dd15c31bcd50d21a891ab20
17 PKG_SOURCE_DATE
:=2020-12-19
18 PKG_MIRROR_HASH
:=627e9057a70b01d1fd69c80c0f6a138c79aace10082d76016af23a6bafd2a3d7
24 PKG_LICENSE_FILES
:=COPYING LICENSE
25 PKG_MAINTAINER
:=Jiri Slachta
<jiri@slachta.eu
>
29 # need iconv.m4, otherwise error during autoreconf
30 PKG_BUILD_DEPENDS
:=gettext-full
32 include $(INCLUDE_DIR
)/package.mk
33 # chan-sccp needs iconv
34 include $(INCLUDE_DIR
)/nls.mk
36 define Package
/asterisk-chan-sccp
40 TITLE
:=SCCP channel support
41 URL
:=https
://github.com
/chan-sccp
/chan-sccp
42 DEPENDS
:=asterisk
$(ICONV_DEPENDS
) +libltdl \
43 +asterisk-bridge-holding \
44 +asterisk-bridge-native-rtp \
45 +asterisk-bridge-simple \
46 +asterisk-bridge-softmix \
47 +asterisk-res-stasis-device-state
48 CONFLICTS
:=asterisk-chan-skinny
51 define Package
/asterisk-chan-sccp
/description
52 Replacement for the SCCP channel driver
(chan_skinny
) in Asterisk.
53 Extended features
include shared lines
, presence
/ BLF
, customizable
54 feature buttons and custom device state.
59 --enable-advanced-functions \
62 --with-asterisk
=$(STAGING_DIR
)/usr
64 define Package
/asterisk-chan-sccp
/conffiles
65 /etc
/asterisk
/sccp.conf
68 define Package
/asterisk-chan-sccp
/install
69 $(INSTALL_DIR
) $(1)/etc
/asterisk
70 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/sccp.conf
$(1)/etc
/asterisk
71 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
72 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_sccp.so
$(1)/usr
/lib
/asterisk
/modules
/
75 $(eval
$(call BuildPackage
,asterisk-chan-sccp
))