Makefile 926 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. 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 +gluon-luci-theme +gluon-lock-password $(GLUON_I18N_PACKAGES)
  14. endef
  15. define Build/Prepare
  16. mkdir -p $(PKG_BUILD_DIR)
  17. endef
  18. define Build/Configure
  19. endef
  20. define Build/Compile
  21. $(call GluonBuildI18N,gluon-config-mode-core,i18n)
  22. endef
  23. define Package/gluon-config-mode-core/install
  24. $(CP) ./files/* $(1)/
  25. $(call GluonInstallI18N,gluon-config-mode-core,$(1))
  26. endef
  27. $(eval $(call BuildPackage,gluon-config-mode-core))