From 8f9ee8d62acdde3f4a043b175dc96e67d50e399b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 25 Feb 2014 11:30:07 +0100 Subject: [PATCH] gluon-core: add version file --- package/gluon-core/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/gluon-core/Makefile b/package/gluon-core/Makefile index 5872dac3..74f3bb43 100644 --- a/package/gluon-core/Makefile +++ b/package/gluon-core/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gluon-core PKG_VERSION:=1 -PKG_RELEASE:=1.$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION) +PKG_RELEASE:=$(GLUON_VERSION).$(GLUON_SITE_CODE)-$(GLUON_RELEASE).$(GLUON_CONFIG_VERSION) PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) @@ -34,6 +34,7 @@ define Package/gluon-core/install $(GLUON_GENERATE) ./generate/* $(1)/ $(INSTALL_DIR) $(1)/lib/gluon + echo "$(GLUON_VERSION)" > $(1)/lib/gluon/version echo "$(GLUON_RELEASE)" > $(1)/lib/gluon/release endef