diff options
author | Phil Sutter <phil.sutter@viprinet.com> | 2011-01-07 18:21:32 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-10 10:45:26 +0100 |
commit | 90832dbe97a44069856768ee81b3baf6743b215c (patch) | |
tree | ba0f89e1ef7c202114fcd129e3c141b72967b335 /package/aufs2-util/Makefile | |
parent | 75e3985003a09b36a30ea4e324f7c34fc2be0fdf (diff) |
real solution for the aufs2-util problem
- export the aufs2 branch's content into a tarball
- fetch that tarball from a local mirror (for now)
- drop that Makefile patch, can be solved by passing the right params to
make
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Diffstat (limited to 'package/aufs2-util/Makefile')
-rw-r--r-- | package/aufs2-util/Makefile | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/package/aufs2-util/Makefile b/package/aufs2-util/Makefile index 4078fa8e1..14ceeb4c7 100644 --- a/package/aufs2-util/Makefile +++ b/package/aufs2-util/Makefile @@ -4,26 +4,45 @@ include $(TOPDIR)/rules.mk PKG_NAME:= aufs2-util -PKG_VERSION:= 130809 +PKG_VERSION:= 2-301210 PKG_RELEASE:= 1 +PKG_MD5SUM:= 83b07d6a6d43362dfc234ecff11367f3 PKG_DESCR:= aufs2 utilities PKG_SECTION:= fs PKG_URL:= http://aufs.sf.net/ +# created from git via: +# $ git archive --format tar origin/aufs2 | \ +# gzip -9 -c >aufs2-util-2-$(date +%d%m%g).tar.gz + +PKG_SITES:= http://nwl.cc/~n0-1/ +WRKDIST= ${WRKDIR} + PKG_HOST_DEPENDS:= !cygwin !freebsd !openbsd !netbsd -NO_DISTFILES:= 1 +PKG_SUBPKGS:= AUFS2_UTIL LIBAU +PKGSD_LIBAU:= aufs2 userspace library include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,AUFS2_UTIL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,LIBAU,libau,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBAU},${PKG_SECTION})) CONFIG_STYLE:= manual -MAKE_FLAGS+= KDIR=${LINUX_DIR} +TCFLAGS+= -I${LINUX_DIR}/include +XAKE_FLAGS+= Install=install post-install: $(INSTALL_DIR) $(IDIR_AUFS2_UTIL)/sbin - $(INSTALL_BIN) ${WRKINST}/sbin/{u,}mount.aufs \ + $(INSTALL_BIN) ${WRKINST}/sbin/{{u,}mount.aufs,auplink} \ $(IDIR_AUFS2_UTIL)/sbin + $(INSTALL_DIR) $(IDIR_AUFS2_UTIL)/usr/bin + $(INSTALL_BIN) ${WRKINST}/usr/bin/au{brsync,chk} \ + $(IDIR_AUFS2_UTIL)/usr/bin + $(INSTALL_DIR) $(IDIR_AUFS2_UTIL)/etc/default + $(INSTALL_BIN) ${WRKINST}/etc/default/aufs \ + $(IDIR_AUFS2_UTIL)/etc/default + $(INSTALL_DIR) $(IDIR_LIBAU)/usr/lib + ${CP} ${WRKINST}/usr/lib/libau* ${IDIR_LIBAU}/usr/lib include ${TOPDIR}/mk/pkg-bottom.mk |