void-packages/srcpkgs/libarchive/template

22 lines
691 B
Plaintext

# 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 [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake"
pre_configure() {
./build/autogen.sh
}
fi