diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/aufs-utils/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/aufs-utils/PKGBUILD')
-rw-r--r-- | abs/core-testing/aufs-utils/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/core-testing/aufs-utils/PKGBUILD b/abs/core-testing/aufs-utils/PKGBUILD new file mode 100644 index 0000000..b845405 --- /dev/null +++ b/abs/core-testing/aufs-utils/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 2265 2008-05-30 12:12:12Z paul $ +# Contributor: Paul Mattal <paul@mattal.com> +# Maintainer: Paul Mattal <pjmattal@elys.com> +pkgname=aufs-utils +pkgver=20080527 +pkgrel=1 +_kernver='2.6.26-ARCH' +pkgdesc="Another Unionfs Implementation that supports NFS branches" +arch=('i686' 'x86_64') +url="http://aufs.sourceforge.net/" +license=('GPL2') +depends=('glibc') +source=(ftp://ftp.archlinux.org/other/aufs/aufs-$pkgver.tar.gz) +md5sums=('4378221aa5763d1f4408a0bbb0e80f0a') + +build() { + cd $startdir/src/aufs || return 1 + + # configure for NFS by: + # 1) configure local.mk to use FILP and LHASH + sed -i 's|CONFIG_AUFS_PUT_FILP_PATCH =|CONFIG_AUFS_PUT_FILP_PATCH = y|' \ + local.mk || return 1 + sed -i 's|CONFIG_AUFS_LHASH_PATCH =|CONFIG_AUFS_LHASH_PATCH = y|' \ + local.mk || return 1 + # 2) configure local.mk NOT to use FAKE_DM + sed -i 's|CONFIG_AUFS_FAKE_DM = y|CONFIG_AUFS_FAKE_DM = |' \ + local.mk || return 1 + + # build + make KDIR=/usr/src/linux-$_kernver/ -f local.mk || return 1 + + # install + install -D -m755 util/aufind.sh $startdir/pkg/usr/bin/aufind.sh || return 1 + install -D -m755 util/aulchown $startdir/pkg/usr/bin/aulchown || return 1 + install -D -m755 util/auplink $startdir/pkg/usr/bin/auplink || return 1 + install -D -m755 util/mount.aufs $startdir/pkg/sbin/mount.aufs || return 1 + install -D -m755 util/umount.aufs $startdir/pkg/sbin/umount.aufs || return 1 +} + +# vim:set ts=2 sw=2 et: |