dahdi-tools: package dahdi_cfg executable
authorDaniel Golle <daniel@makrotopia.org>
Thu, 31 Aug 2017 23:11:17 +0000 (01:11 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 31 Aug 2017 23:12:27 +0000 (01:12 +0200)
Grab the binary instead of the libtool-shell-wrapper...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libs/dahdi-tools/Makefile

index a7dd0ed4dccb2489a4a3744cb1782a2af9989677..2de7edfd7410094f62647c2bfe48f58cb558ab17 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dahdi-tools
 PKG_VERSION:=2.11.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/dahdi-tools/releases/
@@ -25,7 +25,7 @@ define Package/dahdi-cfg/Default
   SECTION:=utils
   CATEGORY:=Utilities
   SUBMENU:=Telephony
-  DEPENDS=+kmod-dahdi
+  DEPENDS=+kmod-dahdi +dahdi-tools-libtonezone
 endef
 
 define Package/dahdi-cfg
@@ -74,7 +74,7 @@ endef
 
 define Package/dahdi-cfg/install
        $(INSTALL_DIR) $(1)/usr/sbin
-       $(CP) $(PKG_BUILD_DIR)/dahdi_cfg $(1)/usr/sbin/
+       $(CP) $(PKG_BUILD_DIR)/.libs/dahdi_cfg $(1)/usr/sbin/
        $(CP) $(PKG_BUILD_DIR)/dahdi_scan $(1)/usr/sbin/
        $(CP) $(PKG_BUILD_DIR)/fxotune $(1)/usr/sbin/
 endef