From 166ca2f437baed7284fdc2a663a34df05a3563ab Mon Sep 17 00:00:00 2001 From: cshore Date: Fri, 18 Mar 2011 23:37:48 +0000 Subject: [PATCH] [libs] zaptel-1.4.x: Build more of the utils for testing and configureing Zaptel cards. git-svn-id: svn://svn.openwrt.org/openwrt/packages@26236 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/zaptel-1.4.x/Makefile | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/libs/zaptel-1.4.x/Makefile b/libs/zaptel-1.4.x/Makefile index d030c9c22..631d4d7c0 100644 --- a/libs/zaptel-1.4.x/Makefile +++ b/libs/zaptel-1.4.x/Makefile @@ -82,7 +82,7 @@ define Package/zaptel14-util SECTION:=utils CATEGORY:=Utilities TITLE+= utils - DEPENDS += +kmod-zaptel14 + DEPENDS += +kmod-zaptel14 +zaptel14-libtonezone +libnewt endef define Package/zaptel14-util/description @@ -101,6 +101,14 @@ define Package/zaptel14-libtonezone/description This package contains the libraries for accessing zaptel/dummy drivers. endef +CONFIGURE_VARS += \ + LDFLAGS="$$$$LDFLAGS -Wl,-rpath-link $(STAGING_DIR)/usr/lib" + +CONFIGURE_ARGS += \ + --with-newt="$(STAGING_DIR)/usr" \ + --without-curses \ + --without-ncurses + MAKE_FLAGS:= \ ARCH="$(LINUX_KARCH)" \ CC="$(TARGET_CC) $(TARGET_CFLAGS)" \ @@ -121,7 +129,7 @@ define Build/Compile/user $(MAKE) -C $(PKG_BUILD_DIR) \ ARCH="$(LINUX_KARCH)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ - install-libs install-include zttest + install-libs install-include zttest ztcfg zttool ztdiag fxotune ztmonitor ztscan ztspeed fxstest endef define Build/Compile @@ -139,6 +147,14 @@ endef define Package/zaptel14-util/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/zttest $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ztcfg $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/zttool $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ztdiag $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/fxotune $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/fxstest $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ztmonitor $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ztscan $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/ztspeed $(1)/usr/bin/ endef define Package/zaptel14-libtonezone/install -- 2.11.0