2008-12-26 11:02:30 +01:00
|
|
|
# Template file for 'libarchive'
|
|
|
|
pkgname=libarchive
|
2012-03-31 09:57:17 +02:00
|
|
|
version=3.0.4
|
2013-02-06 17:07:55 +01:00
|
|
|
revision=2
|
|
|
|
subpackages="bsdtar bsdcpio $pkgname-devel"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-01-04 16:22:48 +01:00
|
|
|
configure_args="--without-xml2 --without-nettle"
|
2013-02-06 17:07:55 +01:00
|
|
|
makedepends="acl-devel openssl-devel liblzma-devel expat-devel"
|
2010-02-19 17:59:43 +01:00
|
|
|
short_desc="Library to read/write several different streaming archive formats"
|
2008-12-26 11:02:30 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-03-31 09:57:17 +02:00
|
|
|
homepage="http://libarchive.github.com/"
|
2011-09-07 11:17:19 +02:00
|
|
|
license="BSD"
|
2013-02-06 17:07:55 +01:00
|
|
|
distfiles="https://github.com/downloads/libarchive/libarchive/libarchive-$version.tar.gz"
|
2012-03-31 09:57:17 +02:00
|
|
|
checksum=76e8d7c7b100ec4071e48c1b7d3f3ea1d22b39db3e45b7189f75b5ff4df90fac
|
2008-12-26 11:02:30 +01:00
|
|
|
|
2013-02-06 17:10:58 +01:00
|
|
|
crossmakedepends="zlib-devel bzip2-devel acl-devel openssl-devel liblzma-devel expat-devel"
|
|
|
|
|
2013-02-06 17:07:55 +01:00
|
|
|
if [ -n "${XBPS_CROSS_TRIPLET}" ]; then
|
2013-02-06 17:13:51 +01:00
|
|
|
makedepends="automake"
|
2013-02-06 17:07:55 +01:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./build/autogen.sh
|
|
|
|
}
|
2010-10-26 03:09:43 +02:00
|
|
|
|
2013-02-06 17:07:55 +01:00
|
|
|
pre_build() {
|
2013-02-06 17:10:58 +01:00
|
|
|
# XXX remove las for now.
|
2013-02-06 17:07:55 +01:00
|
|
|
rm -f /usr/${XBPS_CROSS_TRIPLET}/lib/*.la
|
|
|
|
}
|
2013-02-06 17:10:58 +01:00
|
|
|
|
|
|
|
fi
|