Makefile 775 B

123456789101112131415161718192021222324252627282930313233343536
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-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/gluon-config-mode-mesh-vpn
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=Toggle mesh-vpn and bandwidth limit
  11. DEPENDS:=+gluon-config-mode-core +gluon-mesh-vpn-fastd +gluon-simple-tc
  12. endef
  13. define Build/Prepare
  14. mkdir -p $(PKG_BUILD_DIR)
  15. endef
  16. define Build/Configure
  17. endef
  18. define Build/Compile
  19. $(call GluonBuildI18N,gluon-config-mode-mesh-vpn,i18n)
  20. endef
  21. define Package/gluon-config-mode-mesh-vpn/install
  22. $(CP) ./files/* $(1)/
  23. $(call GluonInstallI18N,gluon-config-mode-mesh-vpn,$(1))
  24. endef
  25. $(eval $(call BuildPackage,gluon-config-mode-mesh-vpn))