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.1 KiB

  1. #
  2. # Copyright (C) 2016 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v3.
  5. #
  6. include $(TOPDIR)/rules.mk
  7. PKG_NAME:=travelmate
  8. PKG_VERSION:=0.2.4
  9. PKG_RELEASE:=1
  10. PKG_LICENSE:=GPL-3.0+
  11. PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/$(PKG_NAME)
  14. SECTION:=net
  15. CATEGORY:=Network
  16. TITLE:=A wlan connection manager for travel router
  17. PKGARCH:=all
  18. endef
  19. define Package/$(PKG_NAME)/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/$(PKG_NAME)/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/$(PKG_NAME)/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,$(PKG_NAME)))