# # 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=aufs3-util pkgver=20110817 _aufs="3.0-20110815" pkgrel=1 pkgdesc="Another Unionfs Implementation that supports NFS branches" arch=('i686' 'x86_64') url="http://aufs.sourceforge.net/" license=('GPL2') depends=('glibc') makedepends=("aufs3>=$_aufs" 'linux-headers') replaces=('aufs-utils' 'aufs2-utils') conficts=('aufs-utils' 'aufs2-utils') source=(http://chakra-project.org/sources/aufs3-util/aufs3-util-$pkgver.tar.gz) md5sums=('49373f619b5088c6a95759011188d073') build() { cd $srcdir/aufs3-util-$pkgver || return 1 # fix KDIR export CPPFLAGS="-I /usr/src/linux-3.0-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 }