summaryrefslogtreecommitdiff
path: root/package/aufs2-util/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2009-08-23 20:43:48 +0200
committerPhil Sutter <phil@nwl.cc>2009-08-23 21:06:58 +0200
commit5774bab43a1946acd8440ad759eb6cc26335e64c (patch)
tree6af74858064eda20d6f9ce643bf1123a2f33b926 /package/aufs2-util/Makefile
parente5940baadbdf76d39ea6079972dbbab9c1c623b1 (diff)
new package aufs2-util
Since the aufs2 utilities seem to be available only via git, copy the current state into the src/ directory, with the samples/ directory removed. The files were intentionally left untouched, so custom changes are still kept in patch files for easier upstream sending. Using do-extract to copy the sources to the working directory has the downside of having to define an empty do-configure target (as this is not needed) but allows for using update-patches just like with any other package (which is not the case if the copying is done in a do-configure target).
Diffstat (limited to 'package/aufs2-util/Makefile')
-rw-r--r--package/aufs2-util/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/aufs2-util/Makefile b/package/aufs2-util/Makefile
new file mode 100644
index 000000000..4457775b9
--- /dev/null
+++ b/package/aufs2-util/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= aufs2-util
+PKG_VERSION:= 130809
+PKG_RELEASE:= 1
+PKG_DESCR:= aufs2 utilities
+PKG_SECTION:= admin
+PKG_URL:= http://aufs.sf.net/
+
+NO_DISTFILES:= 1
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,AUFS_UTIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+MAKE_FLAGS+= KDIR=${LINUX_DIR}
+BUILD_STYLE= auto
+INSTALL_STYLE= auto
+
+do-extract:
+ mkdir -p ${WRKBUILD}
+ ${CP} ./src/* ${WRKBUILD}/
+
+do-configure:
+
+#post-install:
+# $(INSTALL_DIR) $(IDIR_BASH)/bin
+# $(INSTALL_BIN) $(WRKINST)/usr/bin/bash $(IDIR_BASH)/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk