Makefile 778 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-legacy
  3. PKG_VERSION:=2
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include $(GLUONDIR)/include/package.mk
  6. define Package/gluon-legacy
  7. SECTION:=gluon
  8. CATEGORY:=Gluon
  9. TITLE:=Legacy update scripts
  10. DEPENDS:=+gluon-core
  11. endef
  12. define Package/gluon-legacy/description
  13. Gluon community wifi mesh firmware framework: legacy update scripts
  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-legacy/install
  24. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  25. endef
  26. define Package/gluon-legacy/postinst
  27. #!/bin/sh
  28. $(call GluonCheckSite,check_site.lua)
  29. endef
  30. $(eval $(call BuildPackage,gluon-legacy))