Makefile 706 B

12345678910111213141516171819202122232425262728293031323334353637
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-firewall
  3. PKG_VERSION:=1
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(INCLUDE_DIR)/package.mk
  6. define Package/gluon-firewall
  7. SECTION:=gluon
  8. CATEGORY:=Gluon
  9. TITLE:=Restrictive firewall rules
  10. DEPENDS:=+gluon-core +firewall
  11. endef
  12. define Package/gluon-firewall/description
  13. Gluon community wifi mesh firmware framework:
  14. Firewall rules which try to ensure a node can't be abused
  15. (e.g. for DNS amplification attacks)
  16. endef
  17. define Build/Prepare
  18. mkdir -p $(PKG_BUILD_DIR)
  19. endef
  20. define Build/Configure
  21. endef
  22. define Build/Compile
  23. endef
  24. define Package/gluon-firewall/install
  25. $(CP) ./files/* $(1)/
  26. endef
  27. $(eval $(call BuildPackage,gluon-firewall))