Makefile 736 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-node-info
  3. PKG_VERSION:=1
  4. PKG_RELEASE:=1
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(GLUONDIR)/include/package.mk
  7. define Package/gluon-node-info
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=Add /etc/config/gluon-node-info to uci
  11. DEPENDS:=+gluon-core
  12. endef
  13. define Package/gluon-node-info/description
  14. This packages creates /etc/config/gluon-node-info.
  15. endef
  16. define Build/Prepare
  17. mkdir -p $(PKG_BUILD_DIR)
  18. endef
  19. define Build/Configure
  20. endef
  21. define Build/Compile
  22. endef
  23. define Package/gluon-node-info/install
  24. $(CP) ./files/* $(1)/
  25. endef
  26. define Package/gluon-node-info/postinst
  27. #!/bin/sh
  28. $(call GluonCheckSite,check_site.lua)
  29. endef
  30. $(eval $(call BuildPackage,gluon-node-info))