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 include $(INCLUDE_DIR
)/package.mk
30 # chan-sccp needs iconv
31 include $(INCLUDE_DIR
)/nls.mk
33 define Package
/asterisk-chan-sccp
37 TITLE
:=SCCP channel support
38 URL
:=https
://github.com
/chan-sccp
/chan-sccp
39 DEPENDS
:=asterisk
$(ICONV_DEPENDS
) +libltdl \
40 +asterisk-bridge-holding \
41 +asterisk-bridge-native-rtp \
42 +asterisk-bridge-simple \
43 +asterisk-bridge-softmix \
44 +asterisk-res-stasis-device-state
45 CONFLICTS
:=asterisk-chan-skinny
48 define Package
/asterisk-chan-sccp
/description
49 Replacement for the SCCP channel driver
(chan_skinny
) in Asterisk.
50 Extended features
include shared lines
, presence
/ BLF
, customizable
51 feature buttons and custom device state.
56 --enable-advanced-functions \
59 --with-asterisk
=$(STAGING_DIR
)/usr
61 define Package
/asterisk-chan-sccp
/conffiles
62 /etc
/asterisk
/sccp.conf
65 define Package
/asterisk-chan-sccp
/install
66 $(INSTALL_DIR
) $(1)/etc
/asterisk
67 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/sccp.conf
$(1)/etc
/asterisk
68 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
69 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_sccp.so
$(1)/usr
/lib
/asterisk
/modules
/
72 $(eval
$(call BuildPackage
,asterisk-chan-sccp
))