2014-05-13 18:09:28 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
2015-03-19 19:14:40 +00:00
|
|
|
PKG_NAME:=gluon-site
|
2014-05-13 18:09:28 +00:00
|
|
|
PKG_VERSION:=$(GLUON_SITE_CODE)
|
2015-03-19 02:54:12 +00:00
|
|
|
PKG_RELEASE:=0.$(GLUON_RELEASE)
|
|
|
|
|
|
|
|
PKG_FILE_DEPENDS := $(GLUON_SITEDIR)/
|
2015-03-19 20:31:44 +00:00
|
|
|
PKG_BUILD_DEPENDS := luci
|
2014-05-13 18:09:28 +00:00
|
|
|
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
|
2015-03-19 20:31:44 +00:00
|
|
|
include $(GLUONDIR)/include/package.mk
|
|
|
|
|
|
|
|
PKG_CONFIG_DEPENDS += $(GLUON_I18N_CONFIG)
|
|
|
|
|
2014-05-13 18:09:28 +00:00
|
|
|
|
2015-03-19 19:14:40 +00:00
|
|
|
define Package/gluon-site
|
2014-05-13 18:09:28 +00:00
|
|
|
SECTION:=gluon
|
|
|
|
CATEGORY:=Gluon
|
2015-03-19 20:31:44 +00:00
|
|
|
TITLE:=Site-specific files of Gluon
|
2014-05-13 18:09:28 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Prepare
|
|
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2015-03-19 20:31:44 +00:00
|
|
|
$(call GluonBuildI18N,gluon-site,$(GLUON_SITEDIR)/i18n)
|
2014-05-13 18:09:28 +00:00
|
|
|
endef
|
|
|
|
|
2015-03-19 19:14:40 +00:00
|
|
|
define Package/gluon-site/install
|
2014-05-13 18:09:28 +00:00
|
|
|
$(INSTALL_DIR) $(1)/lib/gluon
|
|
|
|
$(CP) $(GLUON_SITEDIR)/site.conf $(1)/lib/gluon/site.conf
|
2014-05-18 22:09:14 +00:00
|
|
|
echo "$(GLUON_RELEASE)" > $(1)/lib/gluon/release
|
2015-03-19 20:31:44 +00:00
|
|
|
|
|
|
|
$(call GluonInstallI18N,gluon-site,$(1))
|
2014-05-13 18:09:28 +00:00
|
|
|
endef
|
|
|
|
|
2015-03-19 19:14:40 +00:00
|
|
|
$(eval $(call BuildPackage,gluon-site))
|