# Template file for 'libarchive'
pkgname=libarchive
version=2.8.4
distfiles="http://libarchive.googlecode.com/files/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--without-xml2"
short_desc="Library to read/write several different streaming archive formats"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=86cffa3eaa28d3116f5d0b20284026c3762cf4a2b52b9844df2b494d4a89f688
long_desc="
 Libarchive is a programming library that can create and read several
 different streaming archive formats, including most popular tar variants,
 several cpio formats, and both BSD and GNU ar variants. It can also write
 shar archives and read ISO9660 CDROM images and ZIP archives."

subpackages="bsdtar bsdcpio $pkgname-devel"
Add_dependency run glibc
Add_dependency run bzip2
Add_dependency run zlib
Add_dependency run attr
Add_dependency run acl
Add_dependency run openssl
Add_dependency run xz
Add_dependency run expat
Add_dependency build bzip2-devel
Add_dependency build zlib-devel
Add_dependency build attr-devel
Add_dependency build acl-devel
Add_dependency build openssl-devel
Add_dependency build xz-devel
Add_dependency build expat-devel
