summaryrefslogtreecommitdiff
path: root/package/soloscli/Makefile
blob: 490186dbecedc9b48f5e1f4408e599b46b207272 (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
#
# Copyright (C) 2006-2011 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:=soloscli
PKG_VERSION:=0.11
PKG_RELEASE:=2

PKG_SOURCE:=solos-pci-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/openadsl
PKG_MD5SUM:=ab3f3fa654ef7c3a402980eca094e690

PKG_INSTALL:=1

PKG_BUILD_DIR:=$(BUILD_DIR)/solos-pci-$(PKG_VERSION)

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/
	$(INSTALL_DIR) $(1)/etc/hotplug.d/atm
	$(INSTALL_DATA) ./files/etc/hotplug.d/atm/15-solos-init $(1)/etc/hotplug.d/atm/
endef

$(eval $(call BuildPackage,soloscli))