packages/net/tctool/Makefile
hauke 83c14e180d [packages] Various Makefile cleanups.
Thanks to swalker.


git-svn-id: svn://svn.openwrt.org/openwrt/packages@16438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-13 17:01:55 +00:00

37 lines
831 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=tctool
PKG_VERSION:=0.9.7
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
PKG_SOURCE_URL:=http://download2.berlios.de/speedmodem50b
PKG_MD5SUM:=df38334206d4cad106e58bd71c6f1d9a
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/tctool
SECTION:=net
CATEGORY:=Network
TITLE:=TrendChip-Modem-Utility
URL:=http://speedmodem50b.berlios.de/
DEPENDS:=+libstdcpp
endef
define Package/tctool/description
tcTool provides access to the console-service of TrendChip-based ADSL-Modems.
endef
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR)/src $(TARGET_CONFIGURE_OPTS) tctool
endef
define Package/tctool/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tctool $(1)/usr/sbin/
endef
$(eval $(call BuildPackage,tctool))