Makefile 610 B

123456789101112131415161718192021222324252627282930313233
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-l3roamd
  3. PKG_VERSION:=1
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include ../gluon.mk
  6. define Package/gluon-l3roamd
  7. SECTION:=gluon
  8. CATEGORY:=Gluon
  9. TITLE:=Configure l3roamd for babel
  10. DEPENDS:=+gluon-core +gluon-mesh-babel +l3roamd
  11. endef
  12. define Build/Prepare
  13. mkdir -p $(PKG_BUILD_DIR)
  14. endef
  15. define Build/Configure
  16. endef
  17. define Build/Compile
  18. $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
  19. endef
  20. define Package/gluon-l3roamd/install
  21. $(CP) ./files/* $(1)/
  22. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  23. endef
  24. $(eval $(call BuildPackage,gluon-l3roamd))