Makefile 727 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-radvd
  3. PKG_VERSION:=3
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include ../gluon.mk
  6. define Package/gluon-radvd
  7. SECTION:=gluon
  8. CATEGORY:=Gluon
  9. TITLE:=Advertise an IPv6 prefix from the node
  10. DEPENDS:=+gluon-core +uradvd
  11. endef
  12. define Package/gluon-radvd/description
  13. Gluon community wifi mesh firmware framework: Advertise an IPv6 prefix from the node
  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. $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
  22. endef
  23. define Package/gluon-radvd/install
  24. $(CP) ./files/* $(1)/
  25. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  26. endef
  27. $(eval $(call BuildPackage,gluon-radvd))