# Description: Library to create and read several archive formats # URL: http://people.freebsd.org/~kientzle/libarchive/ # Maintainer: CRUX System Team, core-ports at crux dot nu # Depends on: bzip2, zlib name=libarchive version=2.7.0 release=4 source=(http://$name.googlecode.com/files/$name-$version.tar.gz libarchive.diff) build() { cd libarchive-$version patch -p0 -i $SRC/libarchive.diff # We're passing --without-lzmadec, because we want to use xz for # LZMA support, not the obsolete lzmadec library. ./configure --prefix=/usr --mandir=/usr/man \ --disable-xattr --without-lzmadec make make DESTDIR=$PKG install }