packages: coova-chilli: 1.2.9 version bump
[openwrt/svn-archive/archive.git] / net / tctool / Makefile
1 #
2 # Copyright (C) 2008-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=tctool
11 PKG_VERSION:=0.9.7
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
15 PKG_SOURCE_URL:=http://download2.berlios.de/speedmodem50b
16 PKG_MD5SUM:=df38334206d4cad106e58bd71c6f1d9a
17
18 PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/tctool
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=TrendChip-Modem-Utility
26 URL:=http://speedmodem50b.berlios.de/
27 DEPENDS:=+libstdcpp
28 endef
29
30 define Package/tctool/description
31 tcTool provides access to the console-service of TrendChip-based
32 ADSL-Modems.
33 endef
34
35 define Build/Compile
36 $(MAKE) -C $(PKG_BUILD_DIR)/src $(TARGET_CONFIGURE_OPTS) tctool
37 endef
38
39 define Package/tctool/install
40 $(INSTALL_DIR) $(1)/usr/sbin
41 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tctool $(1)/usr/sbin/
42 endef
43
44 $(eval $(call BuildPackage,tctool))