GRE: Tos support
[openwrt/staging/chunkeey.git] / package / network / config / soloscli / Makefile
1 #
2 # Copyright (C) 2006-2014 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:=soloscli
11 PKG_VERSION:=1.04
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=solos-pci-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/openadsl
16 PKG_MD5SUM:=c398866de3c059b14eb953c89d698124
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/solos-pci-$(PKG_VERSION)
19 PKG_BUILD_PARALLEL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/soloscli
24 SECTION:=net
25 CATEGORY:=Network
26 TITLE:=Configuration utility for Solos ADSL2+ modems
27 DEPENDS:=+kmod-solos-pci
28 URL:=http://sourceforge.net/projects/openadsl
29 endef
30
31 define Package/soloscli/description
32 This package contains the soloscli utility
33 for interrogating Traverse Technologies' Solos ADSL2+ modems.
34 endef
35
36 define Package/soloscli/install
37 $(INSTALL_DIR) $(1)/usr/bin
38 $(INSTALL_BIN) $(PKG_BUILD_DIR)/soloscli/soloscli $(1)/usr/bin/
39 $(INSTALL_BIN) ./files/solos-log-stats $(1)/usr/bin/
40 $(INSTALL_DIR) $(1)/etc/hotplug.d/atm
41 $(INSTALL_DATA) ./files/etc/hotplug.d/atm/15-solos-init $(1)/etc/hotplug.d/atm/
42 endef
43
44 $(eval $(call BuildPackage,soloscli))