# $Id$ PNAME="libarchive" PVER="3.3.3" PBUILD="r1" PCAT="app-arch" 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.1 >= 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="v${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild SRC_URI=( https://github.com/${PNAME}/${PNAME}/archive/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2SEPERATOR="v" UP2DATE="updatecmd https://github.com/${PNAME}/${PNAME}/releases | highesttarball gz" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} mautoreconf || die } src_compile() { cd ${SRCDIR} # without-lzmadec is disabled because we use the newer lzma lib from xz-utils mconfigure \ --disable-dependency-tracking \ --enable-bsdtar=shared \ --enable-bsdcpio=shared \ --enable-acl \ --enable-xattr \ --with-zlib \ --with-bz2lib\ --with-lzma \ --without-lzmadec \ || die mmake || die }