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 PKG_SOURCE_URL
:=https
://github.com
/chan-sccp
/chan-sccp.git
15 PKG_SOURCE_VERSION
:=a61c6d2cecdd149db767307cd71b736e77913251
16 PKG_SOURCE_DATE
:=2020-10-26
17 PKG_MIRROR_HASH
:=b879a44b855c5a891558781967abff0cb9350d8765c1b4f7774a4fae4cfeda4c
23 PKG_LICENSE_FILES
:=COPYING LICENSE
24 PKG_MAINTAINER
:=Jiri Slachta
<jiri@slachta.eu
>
28 include $(INCLUDE_DIR
)/package.mk
29 # chan-sccp needs iconv
30 include $(INCLUDE_DIR
)/nls.mk
32 define Package
/asterisk-chan-sccp
36 TITLE
:=SCCP channel support
37 URL
:=https
://github.com
/chan-sccp
/chan-sccp
38 DEPENDS
:=asterisk
$(ICONV_DEPENDS
) +libltdl \
39 +asterisk-bridge-holding \
40 +asterisk-bridge-native-rtp \
41 +asterisk-bridge-simple \
42 +asterisk-bridge-softmix \
43 +asterisk-res-stasis-device-state
44 CONFLICTS
:=asterisk-chan-skinny
47 define Package
/asterisk-chan-sccp
/description
48 Replacement for the SCCP channel driver
(chan_skinny
) in Asterisk.
49 Extended features
include shared lines
, presence
/ BLF
, customizable
50 feature buttons and custom device state.
55 --enable-advanced-functions \
58 --with-asterisk
=$(STAGING_DIR
)/usr
60 define Package
/asterisk-chan-sccp
/conffiles
61 /etc
/asterisk
/sccp.conf
64 define Package
/asterisk-chan-sccp
/install
65 $(INSTALL_DIR
) $(1)/etc
/asterisk
66 $(INSTALL_DATA
) $(PKG_INSTALL_DIR
)/etc
/asterisk
/sccp.conf
$(1)/etc
/asterisk
67 $(INSTALL_DIR
) $(1)/usr
/lib
/asterisk
/modules
68 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/asterisk
/modules
/chan_sccp.so
$(1)/usr
/lib
/asterisk
/modules
/
71 $(eval
$(call BuildPackage
,asterisk-chan-sccp
))