| 1 | # |
| 2 | # Copyright (C) 2006-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:=soloscli |
| 11 | PKG_VERSION:=0.11 |
| 12 | PKG_RELEASE:=2 |
| 13 | |
| 14 | PKG_SOURCE:=solos-pci-$(PKG_VERSION).tar.gz |
| 15 | PKG_SOURCE_URL:=@SF/openadsl |
| 16 | PKG_MD5SUM:=ab3f3fa654ef7c3a402980eca094e690 |
| 17 | |
| 18 | PKG_INSTALL:=1 |
| 19 | |
| 20 | PKG_BUILD_DIR:=$(BUILD_DIR)/solos-pci-$(PKG_VERSION) |
| 21 | |
| 22 | include $(INCLUDE_DIR)/package.mk |
| 23 | |
| 24 | define Package/soloscli |
| 25 | SECTION:=net |
| 26 | CATEGORY:=Network |
| 27 | TITLE:=Configuration utility for Solos ADSL2+ modems |
| 28 | DEPENDS:=+kmod-solos-pci |
| 29 | URL:=http://sourceforge.net/projects/openadsl |
| 30 | endef |
| 31 | |
| 32 | define Package/soloscli/description |
| 33 | This package contains the soloscli utility |
| 34 | for interrogating Traverse Technologies' Solos ADSL2+ modems. |
| 35 | endef |
| 36 | |
| 37 | define Package/soloscli/install |
| 38 | $(INSTALL_DIR) $(1)/usr/bin |
| 39 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/soloscli/soloscli $(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)) |
| 45 | |