From b72a7d0b590961b8a63ecffac193fa04888edf26 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Mon, 30 Sep 2013 16:59:22 +0200 Subject: [PATCH] gluon-release: creates /lib/gluon/release --- package/gluon-release/Makefile | 36 +++++++++++++++++++ .../gluon-release/generate/lib/gluon/release | 1 + 2 files changed, 37 insertions(+) create mode 100644 package/gluon-release/Makefile create mode 100644 package/gluon-release/generate/lib/gluon/release diff --git a/package/gluon-release/Makefile b/package/gluon-release/Makefile new file mode 100644 index 00000000..1d72f737 --- /dev/null +++ b/package/gluon-release/Makefile @@ -0,0 +1,36 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=gluon-release +PKG_VERSION:=1 +PKG_RELEASE:=1 + +PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) + +include $(INCLUDE_DIR)/package.mk + +define Package/gluon-release + SECTION:=gluon + CATEGORY:=Gluon + TITLE:=A file containing the current release + DEPENDS:=+gluon-core +endef + +define Package/gluon-release/description + This packages creates /lib/gluon/release. +endef + +define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/gluon-release/install + $(GLUON_GENERATE) ./generate/* $(1)/ +endef + +$(eval $(call BuildPackage,gluon-release)) diff --git a/package/gluon-release/generate/lib/gluon/release b/package/gluon-release/generate/lib/gluon/release new file mode 100644 index 00000000..b42b71b1 --- /dev/null +++ b/package/gluon-release/generate/lib/gluon/release @@ -0,0 +1 @@ +@release@