Makefile 673 B

12345678910111213141516171819202122232425262728293031323334353637
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-luci-node-role
  3. PKG_VERSION:=0.1
  4. PKG_RELEASE:=1
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(GLUONDIR)/include/package.mk
  7. define Package/gluon-luci-node-role
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. DEPENDS:=+gluon-luci-admin +gluon-node-info
  11. TITLE:=UI for specifying node role
  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-luci-node-role/install
  21. $(CP) ./files/* $(1)/
  22. endef
  23. define Package/gluon-luci-node-role/postinst
  24. #!/bin/sh
  25. $(call GluonCheckSite,check_site.lua)
  26. endef
  27. $(eval $(call BuildPackage,gluon-luci-node-role))