Makefile 916 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=ffho-config-mode-mesh-vpn
  3. PKG_VERSION:=2
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(GLUONDIR)/include/package.mk
  6. PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
  7. define Package/ffho-config-mode-mesh-vpn
  8. SECTION:=ffho
  9. CATEGORY:=Gluon
  10. TITLE:=Toggle mesh-vpn and bandwidth limit
  11. DEPENDS:=gluon-config-mode-core-virtual +gluon-mesh-vpn-fastd
  12. PROVIDES:=gluon-config-mode-mesh-vpn
  13. MAINTAINER:=Freifunk Hochstift <kontakt@hochstift.freifunk.net>
  14. URL:=https://git.c3pb.de/freifunk-pb/ffho-packages
  15. endef
  16. define Build/Prepare
  17. mkdir -p $(PKG_BUILD_DIR)
  18. endef
  19. define Build/Configure
  20. endef
  21. define Build/Compile
  22. $(call GluonBuildI18N,ffho-config-mode-mesh-vpn,i18n)
  23. endef
  24. define Package/ffho-config-mode-mesh-vpn/install
  25. $(CP) ./files/* $(1)/
  26. $(call GluonInstallI18N,ffho-config-mode-mesh-vpn,$(1))
  27. endef
  28. $(eval $(call BuildPackage,ffho-config-mode-mesh-vpn))