Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #
  2. # Copyright (c) 2016-2017 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:=0.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/$(PKG_NAME)
  13. SECTION:=net
  14. CATEGORY:=Network
  15. TITLE:=A wlan connection manager for travel router
  16. PKGARCH:=all
  17. endef
  18. define Package/$(PKG_NAME)/description
  19. A wlan connection manager for travel router.
  20. Please see https://github.com/openwrt/packages/blob/master/net/travelmate/files/README.md for further information.
  21. endef
  22. define Package/$(PKG_NAME)/conffiles
  23. /etc/config/travelmate
  24. endef
  25. define Build/Prepare
  26. endef
  27. define Build/Configure
  28. endef
  29. define Build/Compile
  30. endef
  31. define Package/$(PKG_NAME)/install
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(INSTALL_BIN) ./files/travelmate.sh $(1)/usr/bin/
  34. $(INSTALL_DIR) $(1)/etc/init.d
  35. $(INSTALL_BIN) ./files/travelmate.init $(1)/etc/init.d/travelmate
  36. $(INSTALL_DIR) $(1)/etc/config
  37. $(INSTALL_CONF) ./files/travelmate.conf $(1)/etc/config/travelmate
  38. endef
  39. $(eval $(call BuildPackage,$(PKG_NAME)))