Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=soloscli
  9. PKG_VERSION:=1.04
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=solos-pci-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/openadsl
  13. PKG_HASH:=6379e6970a5c97fd5a223d024138ebb71b15d70e2ad1fe9da09edc5b2d760e1d
  14. PKG_LICENSE:=GPL-2.0
  15. PKG_BUILD_DIR:=$(BUILD_DIR)/solos-pci-$(PKG_VERSION)
  16. PKG_BUILD_PARALLEL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/soloscli
  19. SECTION:=net
  20. CATEGORY:=Network
  21. TITLE:=Configuration utility for Solos ADSL2+ modems
  22. DEPENDS:=+kmod-solos-pci
  23. URL:=http://sourceforge.net/projects/openadsl
  24. endef
  25. define Package/soloscli/description
  26. This package contains the soloscli utility
  27. for interrogating Traverse Technologies' Solos ADSL2+ modems.
  28. endef
  29. define Package/soloscli/install
  30. $(INSTALL_DIR) $(1)/usr/bin
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/soloscli/soloscli $(1)/usr/bin/
  32. $(INSTALL_BIN) ./files/solos-log-stats $(1)/usr/bin/
  33. $(INSTALL_DIR) $(1)/etc/hotplug.d/atm
  34. $(INSTALL_DATA) ./files/etc/hotplug.d/atm/15-solos-init $(1)/etc/hotplug.d/atm/
  35. endef
  36. $(eval $(call BuildPackage,soloscli))