Makefile 854 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Copyright (C) 2012 Nils Schneider <nils at nilsschneider.net>
  2. # This is free software, licensed under the Apache 2.0 license.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:=gluon-config-mode-core
  5. PKG_VERSION:=2
  6. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  7. include $(GLUONDIR)/include/package.mk
  8. define Package/gluon-config-mode-core
  9. SECTION:=gluon
  10. CATEGORY:=Gluon
  11. TITLE:=Luci based config mode for user friendly setup of new mesh nodes
  12. DEPENDS:=+gluon-setup-mode +gluon-luci-theme +gluon-lock-password
  13. endef
  14. define Build/Prepare
  15. mkdir -p $(PKG_BUILD_DIR)
  16. endef
  17. define Build/Configure
  18. endef
  19. define Build/Compile
  20. endef
  21. define Package/gluon-config-mode-core/install
  22. $(CP) ./files/* $(1)/
  23. endef
  24. define Package/gluon-config-mode-core/postinst
  25. #!/bin/sh
  26. $(call GluonCheckSite,check_site.lua)
  27. endef
  28. $(eval $(call BuildPackage,gluon-config-mode-core))