- Set PKG_BUILD_DIR for each variant. Without it only one variant gets
built and put into both packages.
- Add libiconv to build deps. Some iconv m4 files are required. Possibly
fixes issue #121.
- Replace recently added configure args with the ones suggested by upstream
@dkgroot in issue #167. This again shaves some bytes off the package.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
-# Copyright (C) 2016 OpenWrt.org
+# Copyright (C) 2016 - 2017 OpenWrt.org
# Copyright (C) 2016 Cesnet, z.s.p.o.
#
# This is free software, licensed under the GNU General Public License v2.
# Copyright (C) 2016 Cesnet, z.s.p.o.
#
# This is free software, licensed under the GNU General Public License v2.
PKG_NAME:=chan-sccp-b
PKG_REV:=6728
PKG_VERSION:=v4.2.3-r$(PKG_REV)
PKG_NAME:=chan-sccp-b
PKG_REV:=6728
PKG_VERSION:=v4.2.3-r$(PKG_REV)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://svn.code.sf.net/p/chan-sccp-b/code/branches/v4.2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://svn.code.sf.net/p/chan-sccp-b/code/branches/v4.2
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
+
include $(INCLUDE_DIR)/package.mk
define Package/chan-sccp-b/Default
include $(INCLUDE_DIR)/package.mk
define Package/chan-sccp-b/Default
CATEGORY:=Network
TITLE:=SCCP channel provider support
URL:=http://chan-sccp-b.sourceforge.net/
CATEGORY:=Network
TITLE:=SCCP channel provider support
URL:=http://chan-sccp-b.sourceforge.net/
+ DEPENDS:=+libltdl
+ PKG_BUILD_DEPENDS:=libiconv
endef
define Package/asterisk13-chan-sccp-b
endef
define Package/asterisk13-chan-sccp-b
Package/asterisk13-chan-sccp-b/description = $(Package/description/Default)
CONFIGURE_ARGS += \
Package/asterisk13-chan-sccp-b/description = $(Package/description/Default)
CONFIGURE_ARGS += \
- --enable-debug=no \
- --enable-optimization=no \
+ --enable-static \
+ --enable-section-relocation \
--enable-conference \
--enable-advanced-functions \
--enable-video
--enable-conference \
--enable-advanced-functions \
--enable-video