void-packages/srcpkgs/libarchive/template

28 lines
865 B
Text
Raw Normal View History

# Template file for 'libarchive'
pkgname=libarchive
2012-03-31 07:57:17 +00:00
version=3.0.4
2013-02-06 16:07:55 +00:00
revision=2
subpackages="bsdtar bsdcpio $pkgname-devel"
build_style=gnu-configure
configure_args="--without-xml2 --without-nettle"
2013-02-06 16:07:55 +00:00
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>"
2012-03-31 07:57:17 +00:00
homepage="http://libarchive.github.com/"
2011-09-07 09:17:19 +00:00
license="BSD"
2013-02-06 16:07:55 +00:00
distfiles="https://github.com/downloads/libarchive/libarchive/libarchive-$version.tar.gz"
2012-03-31 07:57:17 +00:00
checksum=76e8d7c7b100ec4071e48c1b7d3f3ea1d22b39db3e45b7189f75b5ff4df90fac
2013-02-06 16:07:55 +00:00
if [ -n "${XBPS_CROSS_TRIPLET}" ]; then
2013-02-06 16:08:59 +00:00
makedepends="automake perl"
2013-02-06 16:07:55 +00:00
fi
crossmakedepends="zlib-devel bzip2-devel acl-devel openssl-devel liblzma-devel expat-devel"
pre_configure() {
./build/autogen.sh
}
2013-02-06 16:07:55 +00:00
pre_build() {
rm -f /usr/${XBPS_CROSS_TRIPLET}/lib/*.la
}