2010-10-24 21:46:32 +08:00
|
|
|
#
|
2014-06-02 20:45:01 +08:00
|
|
|
# Copyright (C) 2006-2014 OpenWrt.org
|
2010-10-24 21:46:32 +08:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=soloscli
|
2014-06-02 20:45:01 +08:00
|
|
|
PKG_VERSION:=1.04
|
|
|
|
PKG_RELEASE:=1
|
2010-10-24 21:46:32 +08:00
|
|
|
|
|
|
|
PKG_SOURCE:=solos-pci-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/openadsl
|
2014-06-02 20:45:01 +08:00
|
|
|
PKG_MD5SUM:=c398866de3c059b14eb953c89d698124
|
2010-10-24 21:46:32 +08:00
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/solos-pci-$(PKG_VERSION)
|
2014-06-02 20:45:01 +08:00
|
|
|
PKG_BUILD_PARALLEL:=1
|
2010-10-24 21:46:32 +08:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/soloscli
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
TITLE:=Configuration utility for Solos ADSL2+ modems
|
|
|
|
DEPENDS:=+kmod-solos-pci
|
|
|
|
URL:=http://sourceforge.net/projects/openadsl
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/soloscli/description
|
|
|
|
This package contains the soloscli utility
|
|
|
|
for interrogating Traverse Technologies' Solos ADSL2+ modems.
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/soloscli/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/soloscli/soloscli $(1)/usr/bin/
|
2012-03-29 17:01:33 +08:00
|
|
|
$(INSTALL_BIN) ./files/solos-log-stats $(1)/usr/bin/
|
2011-02-13 10:52:49 +08:00
|
|
|
$(INSTALL_DIR) $(1)/etc/hotplug.d/atm
|
|
|
|
$(INSTALL_DATA) ./files/etc/hotplug.d/atm/15-solos-init $(1)/etc/hotplug.d/atm/
|
2010-10-24 21:46:32 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,soloscli))
|