blob: 652056912d078f37ee1effc724f662674e1cc7ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#
# Copyright (C) 2008-2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=tctool
PKG_VERSION:=0.9.7
PKG_RELEASE:=3
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) \
CXXFLAGS="$(TARGET_CXXFLAGS)" \
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))
|