Makefile 976 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
  9. define Package/gluon-config-mode-core
  10. SECTION:=gluon
  11. CATEGORY:=Gluon
  12. TITLE:=Luci based config mode for user friendly setup of new mesh nodes
  13. DEPENDS:=gluon-setup-mode-virtual +gluon-luci-theme +gluon-lock-password $(GLUON_I18N_PACKAGES)
  14. PROVIDES:=gluon-config-mode-core-virtual
  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. $(call GluonBuildI18N,gluon-config-mode-core,i18n)
  23. endef
  24. define Package/gluon-config-mode-core/install
  25. $(CP) ./files/* $(1)/
  26. $(call GluonInstallI18N,gluon-config-mode-core,$(1))
  27. endef
  28. $(eval $(call BuildPackage,gluon-config-mode-core))