# $Id: libarchive-2.7.1-r1.smage2 6463 2010-08-25 21:32:54Z niro $ PNAME="libarchive" PVER="2.8.4" PBUILD="r2" PCATEGORIE="app-arch" STATE="unstable" DESCRIPTION="A library that can create and read several streaming archive formats." HOMEPAGE="http://people.freebsd.org/~kientzle/libarchive/" DEPEND=">= app-arch/bzip2-1.0.6 >= app-arch/xz-utils-5.0.1 >= dev-libs/openssl-1.0.0 >= sys-libs/zlib-1.2 >= sys-apps/attr-2.4 >= sys-apps/acl-2.2" SDEPEND=">= sys-fs/e2fsprogs-1.41 >= virtual/kernel-headers" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( http://libarchive.googlecode.com/files/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd http://code.google.com/p/${PNAME}/downloads/list | firsttarball gz" src_compile() { cd ${SRCDIR} # without-lzmadec is disabled because we use the newer lzma lib from xz-utils mconfigure \ --disable-dependency-tracking \ --bindir=/bin \ --enable-bsdtar=shared \ --enable-bsdcpio=shared \ --enable-acl \ --enable-xattr \ --with-zlib \ --with-bz2lib\ --with-lzma \ --without-lzmadec \ || die mmake || die }