Grab the binary instead of the libtool-shell-wrapper...
As a result, dahdi_cfg now depends on dahdi-tools-libtonezone.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
dahdi-tools: fix previous commit
The dependencies in the default section were modified instead of just
the ones for dahdi-cfg. Fix that.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
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/
define Package/dahdi-cfg
$(call Package/dahdi-cfg/Default)
- DEPENDS+=+libpthread
+ DEPENDS+=+libpthread +dahdi-tools-libtonezone
TITLE:=DAHDI tools dahdi_cfg, dahdi_scan and fxotune
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