You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.2 KiB

  1. #
  2. # Copyright (c) 2016-2019 Dirk Brenken (dev@brenken.org)
  3. # This is free software, licensed under the GNU General Public License v3.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=travelmate
  7. PKG_VERSION:=1.3.2
  8. PKG_RELEASE:=1
  9. PKG_LICENSE:=GPL-3.0+
  10. PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
  11. include $(INCLUDE_DIR)/package.mk
  12. define Package/travelmate
  13. SECTION:=net
  14. CATEGORY:=Network
  15. TITLE:=A wlan connection manager for travel router
  16. DEPENDS:=+iwinfo +jshn +jsonfilter +uclient-fetch
  17. PKGARCH:=all
  18. endef
  19. define Package/travelmate/description
  20. A wlan connection manager for travel router.
  21. Please see https://github.com/openwrt/packages/blob/master/net/travelmate/files/README.md for further information.
  22. endef
  23. define Package/travelmate/conffiles
  24. /etc/config/travelmate
  25. endef
  26. define Build/Prepare
  27. endef
  28. define Build/Configure
  29. endef
  30. define Build/Compile
  31. endef
  32. define Package/travelmate/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(INSTALL_BIN) ./files/travelmate.sh $(1)/usr/bin/
  35. $(INSTALL_DIR) $(1)/etc/init.d
  36. $(INSTALL_BIN) ./files/travelmate.init $(1)/etc/init.d/travelmate
  37. $(INSTALL_DIR) $(1)/etc/config
  38. $(INSTALL_CONF) ./files/travelmate.conf $(1)/etc/config/travelmate
  39. endef
  40. $(eval $(call BuildPackage,travelmate))