gluon-site: add translations from the site configuration
This commit is contained in:
parent
0e9095b58c
commit
5805e78455
@ -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
|
|||||||
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))
|
||||||
|
Loading…
Reference in New Issue
Block a user