Makefile 569 B

1234567891011121314151617181920212223242526272829303132
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-announce
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=1
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/gluon-announce
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. DEPENDS:=+gluon-core +luci-lib-jsonc +lua-ethtool-stats
  11. TITLE:=Lua scripts announcing various information
  12. endef
  13. define Build/Prepare
  14. mkdir -p $(PKG_BUILD_DIR)
  15. endef
  16. define Build/Configure
  17. endef
  18. define Build/Compile
  19. endef
  20. define Package/gluon-announce/install
  21. $(CP) ./files/* $(1)/
  22. endef
  23. $(eval $(call BuildPackage,gluon-announce))