void-packages/srcpkgs/libarchive/template
2013-02-20 14:34:18 +01:00

23 lines
792 B
Text

# Template file for 'libarchive'
pkgname=libarchive
version=3.1.2
revision=1
subpackages="bsdtar bsdcpio $pkgname-devel"
build_style=gnu-configure
configure_args="--without-xml2 --without-nettle"
makedepends="acl-devel openssl-devel liblzma-devel expat-devel"
short_desc="Library to read/write several different streaming archive formats"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.libarchive.org/"
license="BSD"
distfiles="http://www.libarchive.org/downloads/libarchive-${version}.tar.gz"
checksum=eb87eacd8fe49e8d90c8fdc189813023ccc319c5e752b01fb6ad0cc7b2c53d5e
if [ -n "${XBPS_CROSS_TRIPLET}" ]; then
makedepends="automake"
crossmakedepends="zlib-devel bzip2-devel acl-devel openssl-devel
liblzma-devel expat-devel"
pre_configure() {
./build/autogen.sh
}
fi