2008-12-26 10:02:30 +00:00
|
|
|
# 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"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-01-04 15:22:48 +00:00
|
|
|
configure_args="--without-xml2 --without-nettle"
|
2013-02-06 16:07:55 +00:00
|
|
|
makedepends="acl-devel openssl-devel liblzma-devel expat-devel"
|
2010-02-19 16:59:43 +00:00
|
|
|
short_desc="Library to read/write several different streaming archive formats"
|
2008-12-26 10:02:30 +00:00
|
|
|
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
|
2008-12-26 10:02:30 +00:00
|
|
|
|
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
|
|
|
|
}
|
2010-10-26 01:09:43 +00:00
|
|
|
|
2013-02-06 16:07:55 +00:00
|
|
|
pre_build() {
|
|
|
|
rm -f /usr/${XBPS_CROSS_TRIPLET}/lib/*.la
|
|
|
|
}
|