description="Library to create and read several archive formats." packager="CRUX System Team " maintainer="Lukc " url="http://code.google.com/p/libarchive/" depends=(bzip2 xz zlib acl) name=libarchive version=2.8.4 release=1 source=(http://libarchive.googlecode.com/files/$name-$version.tar.gz) build () { cd libarchive-$version; ./configure \ --prefix=$prefix \ --mandir=$mandir \ --without-lzmadec \ --without-xml2 \ --without-expat \ --without-openssl; make; make DESTDIR=$PKG install ln -sf bsdtar $PKG$bindir/tar ln -sf bsdcpio $PKG$bindir/cpio }