2011-11-19 07:14:03 +08:00
|
|
|
#
|
2014-03-08 08:57:42 +08:00
|
|
|
# Copyright (C) 2008-2014 OpenWrt.org
|
2011-11-19 07:14:03 +08:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
2008-07-29 00:52:43 +08:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=tctool
|
|
|
|
PKG_VERSION:=0.9.7
|
2014-03-14 00:52:10 +08:00
|
|
|
PKG_RELEASE:=3
|
2008-07-29 00:52:43 +08:00
|
|
|
|
|
|
|
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
|
2011-11-19 07:14:03 +08:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=TrendChip-Modem-Utility
|
|
|
|
URL:=http://speedmodem50b.berlios.de/
|
|
|
|
DEPENDS:=+libstdcpp
|
2008-07-29 00:52:43 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/tctool/description
|
2014-03-27 15:05:56 +08:00
|
|
|
tcTool provides access to the console-service of TrendChip-based
|
2011-11-19 07:14:03 +08:00
|
|
|
ADSL-Modems.
|
2008-07-29 00:52:43 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2014-03-08 08:57:42 +08:00
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR)/src \
|
|
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
|
|
CXXFLAGS="$(TARGET_CXXFLAGS)" \
|
|
|
|
tctool
|
2008-07-29 00:52:43 +08:00
|
|
|
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))
|