Makefile 942 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
  7. define Package/gluon-config-mode-domain-select
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=UI for changing the node-config
  11. DEPENDS:=+gluon-config-mode-core @GLUON_MULTIDOMAIN
  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. $(call GluonBuildI18N,gluon-config-mode-domain-select,i18n)
  20. $(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
  21. endef
  22. define Package/gluon-config-mode-domain-select/install
  23. $(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
  24. $(call GluonInstallI18N,gluon-config-mode-domain-select,$(1))
  25. endef
  26. define Package/gluon-config-domain-select/postinst
  27. #!/bin/sh
  28. $(call GluonCheckSite,check_site.lua)
  29. endef
  30. $(eval $(call BuildPackage,gluon-config-mode-domain-select))