Makefile 759 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-next-node
  3. PKG_VERSION:=3
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(GLUONDIR)/include/package.mk
  6. define Package/gluon-next-node
  7. SECTION:=gluon
  8. CATEGORY:=Gluon
  9. TITLE:=Next-node anycast address
  10. DEPENDS:=+gluon-core +gluon-ebtables +kmod-macvlan
  11. endef
  12. define Package/gluon-next-node/description
  13. Gluon community wifi mesh firmware framework: next-node anycast address
  14. endef
  15. define Build/Prepare
  16. mkdir -p $(PKG_BUILD_DIR)
  17. endef
  18. define Build/Configure
  19. endef
  20. define Build/Compile
  21. endef
  22. define Package/gluon-next-node/install
  23. $(CP) ./files/* $(1)/
  24. endef
  25. define Package/gluon-next-node/postinst
  26. #!/bin/sh
  27. $(call GluonCheckSite,check_site.lua)
  28. endef
  29. $(eval $(call BuildPackage,gluon-next-node))