[libs] zaptel-1.4.x: Build more of the utils for testing and configureing Zaptel...
authorDaniel Dickinson <crazycshore@gmail.com>
Fri, 18 Mar 2011 23:37:48 +0000 (23:37 +0000)
committerDaniel Dickinson <crazycshore@gmail.com>
Fri, 18 Mar 2011 23:37:48 +0000 (23:37 +0000)
SVN-Revision: 26236

libs/zaptel-1.4.x/Makefile

index d030c9c226ca6520f750f13820e8f84a2210e814..631d4d7c0669113dc2c6082f522b4a3fc352d50c 100644 (file)
@@ -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