Makefile 976 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-mesh-vpn-fastd
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=1.$(GLUON_CONFIG_VERSION)
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/gluon-mesh-vpn-fastd
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=Support for connecting batman-adv meshes via fastd
  11. DEPENDS:=+gluon-core +gluon-mesh-batman-adv +fastd
  12. endef
  13. define Package/gluon-mesh-vpn-fastd/description
  14. Gluon community wifi mesh firmware framework: fastd support
  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. endef
  23. define Package/gluon-mesh-vpn-fastd/install
  24. $(CP) ./files/* $(1)/
  25. $(INSTALL_DIR) $(1)/lib/gluon/upgrade/mesh-vpn-fastd/invariant
  26. $(GLUON_CONFIGURE) fastd.pl > $(1)/lib/gluon/upgrade/mesh-vpn-fastd/invariant/010-mesh-vpn-fastd
  27. chmod +x $(1)/lib/gluon/upgrade/mesh-vpn-fastd/invariant/010-mesh-vpn-fastd
  28. endef
  29. $(eval $(call BuildPackage,gluon-mesh-vpn-fastd))