2015-03-16 10:44:21 +00:00
|
|
|
#
|
2018-12-26 18:23:01 +00:00
|
|
|
# Copyright (C) 2016 OpenWrt.org
|
2016-04-07 14:03:07 +00:00
|
|
|
# Copyright (C) 2016 Cesnet, z.s.p.o.
|
2015-03-16 10:44:21 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2020-11-01 10:58:03 +00:00
|
|
|
PKG_NAME:=asterisk-chan-sccp
|
2023-03-18 16:42:35 +00:00
|
|
|
PKG_RELEASE:=2
|
2015-03-16 10:44:21 +00:00
|
|
|
|
2020-12-19 12:35:19 +00:00
|
|
|
# Updated to v4.3.3 release
|
2017-10-08 07:50:41 +00:00
|
|
|
PKG_SOURCE_URL:=https://github.com/chan-sccp/chan-sccp.git
|
2020-12-19 12:35:19 +00:00
|
|
|
PKG_SOURCE_VERSION:=968caa458920965c5dd15c31bcd50d21a891ab20
|
|
|
|
PKG_SOURCE_DATE:=2020-12-19
|
|
|
|
PKG_MIRROR_HASH:=627e9057a70b01d1fd69c80c0f6a138c79aace10082d76016af23a6bafd2a3d7
|
2017-08-14 19:59:36 +00:00
|
|
|
PKG_SOURCE_PROTO:=git
|
2015-03-16 10:44:21 +00:00
|
|
|
|
2017-07-28 20:01:49 +00:00
|
|
|
PKG_FIXUP:=autoreconf
|
2015-03-16 10:44:21 +00:00
|
|
|
|
|
|
|
PKG_LICENSE:=GPL-1.0
|
|
|
|
PKG_LICENSE_FILES:=COPYING LICENSE
|
2016-05-31 18:12:51 +00:00
|
|
|
PKG_MAINTAINER:=Jiri Slachta <jiri@slachta.eu>
|
2015-03-16 10:44:21 +00:00
|
|
|
|
2017-07-28 20:01:49 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2023-03-18 16:42:35 +00:00
|
|
|
# need iconv.m4, otherwise error during autoreconf
|
|
|
|
PKG_BUILD_DEPENDS:=gettext-full
|
|
|
|
|
2015-03-16 10:44:21 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-07-17 21:26:20 +00:00
|
|
|
# chan-sccp needs iconv
|
|
|
|
include $(INCLUDE_DIR)/nls.mk
|
2017-09-01 22:30:28 +00:00
|
|
|
|
2020-11-01 10:58:03 +00:00
|
|
|
define Package/asterisk-chan-sccp
|
2015-03-16 10:44:21 +00:00
|
|
|
SUBMENU:=Telephony
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2017-11-23 17:01:02 +00:00
|
|
|
TITLE:=SCCP channel support
|
|
|
|
URL:=https://github.com/chan-sccp/chan-sccp
|
2020-11-01 10:58:03 +00:00
|
|
|
DEPENDS:=asterisk $(ICONV_DEPENDS) +libltdl \
|
|
|
|
+asterisk-bridge-holding \
|
|
|
|
+asterisk-bridge-native-rtp \
|
|
|
|
+asterisk-bridge-simple \
|
|
|
|
+asterisk-bridge-softmix \
|
|
|
|
+asterisk-res-stasis-device-state
|
|
|
|
CONFLICTS:=asterisk-chan-skinny
|
2019-04-13 21:01:38 +00:00
|
|
|
endef
|
|
|
|
|
2020-11-01 10:58:03 +00:00
|
|
|
define Package/asterisk-chan-sccp/description
|
2017-11-23 17:01:02 +00:00
|
|
|
Replacement for the SCCP channel driver (chan_skinny) in Asterisk.
|
|
|
|
Extended features include shared lines, presence / BLF, customizable
|
|
|
|
feature buttons and custom device state.
|
2015-03-16 10:44:21 +00:00
|
|
|
endef
|
|
|
|
|
2016-04-07 14:03:07 +00:00
|
|
|
CONFIGURE_ARGS += \
|
2017-08-14 19:59:36 +00:00
|
|
|
--disable-debug \
|
2016-04-07 14:03:07 +00:00
|
|
|
--enable-advanced-functions \
|
2017-08-14 19:59:36 +00:00
|
|
|
--enable-conference \
|
2020-11-01 10:58:03 +00:00
|
|
|
--enable-video \
|
|
|
|
--with-asterisk=$(STAGING_DIR)/usr
|
2016-02-18 02:47:53 +00:00
|
|
|
|
2020-11-01 10:58:03 +00:00
|
|
|
define Package/asterisk-chan-sccp/conffiles
|
2015-03-16 10:44:21 +00:00
|
|
|
/etc/asterisk/sccp.conf
|
|
|
|
endef
|
|
|
|
|
2020-11-01 10:58:03 +00:00
|
|
|
define Package/asterisk-chan-sccp/install
|
2015-03-16 10:44:21 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/asterisk
|
2020-11-01 10:58:03 +00:00
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/sccp.conf $(1)/etc/asterisk
|
2015-03-16 10:44:21 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
|
2015-06-25 22:27:19 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_sccp.so $(1)/usr/lib/asterisk/modules/
|
2015-03-16 10:44:21 +00:00
|
|
|
endef
|
|
|
|
|
2020-11-01 10:58:03 +00:00
|
|
|
$(eval $(call BuildPackage,asterisk-chan-sccp))
|