Skip to content
Snippets Groups Projects
Commit 5805e784 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-site: add translations from the site configuration

parent 0e9095b5
No related branches found
No related tags found
No related merge requests found
...@@ -5,19 +5,19 @@ PKG_VERSION:=$(GLUON_SITE_CODE) ...@@ -5,19 +5,19 @@ PKG_VERSION:=$(GLUON_SITE_CODE)
PKG_RELEASE:=0.$(GLUON_RELEASE) PKG_RELEASE:=0.$(GLUON_RELEASE)
PKG_FILE_DEPENDS := $(GLUON_SITEDIR)/ PKG_FILE_DEPENDS := $(GLUON_SITEDIR)/
PKG_BUILD_DEPENDS := luci
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk include $(GLUONDIR)/include/package.mk
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
define Package/gluon-site define Package/gluon-site
SECTION:=gluon SECTION:=gluon
CATEGORY:=Gluon CATEGORY:=Gluon
TITLE:=Site-specific config files of Gluon TITLE:=Site-specific files of Gluon
endef
define Package/gluon-site/description
Gluon community wifi mesh firmware framework: site configuration
endef endef
define Build/Prepare define Build/Prepare
...@@ -28,12 +28,15 @@ define Build/Configure ...@@ -28,12 +28,15 @@ define Build/Configure
endef endef
define Build/Compile define Build/Compile
$(call GluonBuildI18N,gluon-site,$(GLUON_SITEDIR)/i18n)
endef endef
define Package/gluon-site/install define Package/gluon-site/install
$(INSTALL_DIR) $(1)/lib/gluon $(INSTALL_DIR) $(1)/lib/gluon
$(CP) $(GLUON_SITEDIR)/site.conf $(1)/lib/gluon/site.conf $(CP) $(GLUON_SITEDIR)/site.conf $(1)/lib/gluon/site.conf
echo "$(GLUON_RELEASE)" > $(1)/lib/gluon/release echo "$(GLUON_RELEASE)" > $(1)/lib/gluon/release
$(call GluonInstallI18N,gluon-site,$(1))
endef endef
$(eval $(call BuildPackage,gluon-site)) $(eval $(call BuildPackage,gluon-site))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment