Makefile 774 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-config-mode-domain-select
  3. PKG_VERSION:=1
  4. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  5. include ../gluon.mk
  6. define Package/gluon-config-mode-domain-select
  7. SECTION:=gluon
  8. CATEGORY:=Gluon
  9. TITLE:=UI for changing the node-config
  10. DEPENDS:=+gluon-config-mode-core @GLUON_MULTIDOMAIN
  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-config-mode-domain-select/install
  21. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  22. endef
  23. define Package/gluon-config-domain-select/postinst
  24. #!/bin/sh
  25. $(call GluonCheckSite,check_site.lua)
  26. endef
  27. $(eval $(call BuildPackage,gluon-config-mode-domain-select))