# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=aufs2-util pkgver=20110519 pkgrel=2 pkgdesc="Another Unionfs Implementation that supports NFS branches" arch=('i686' 'x86_64') url="http://aufs.sourceforge.net/" license=('GPL2') depends=('glibc') makedepends=('kernel26>=2.6.39' 'kernel26-headers') replaces=('aufs-utils') source=(http://chakra-project.org/sources/aufs2-util/aufs2-util-$pkgver.tar.gz) md5sums=('5375acb2e59b7d8ba5d5a646e0a6c26f') build() { cd $srcdir/aufs2-util-$pkgver || return 1 # fix KDIR export CPPFLAGS="-I /usr/src/linux-2.6.39-CHAKRA/include/" #sed -i 's|$(shell uname -r)|2.6.36-CHAKRA|g' ./Makefile # build make || return 1 # install #mkdir -p $pkgdir/{sbin,usr/bin,etc/default/aufs} make DESTDIR=$pkgdir install || return 1 rm $pkgdir/usr/lib/libau.so.2 rm $pkgdir/usr/lib/libau.so ln -sf libau.so.2.2 $pkgdir/usr/lib/libau.so.2 ln -sf libau.so.2.2 $pkgdir/usr/lib/libau.so }