### this file is sourced not run
PKGVER=3.3.2
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 8.2
TARBALL=libarchive-$PKGVER.tar.gz
MD5SUM=4583bd6b2ebf7e0e8963d90879eb1b27
SRC_URL=http://www.libarchive.org/downloads/$TARBALL
BUNDLE=

SLACKREQ='bzip2 xz libnettle expat' # liblzo2 build-time only
SLACKDESC="libarchive: libarchive $PKGVER (archiver librari)  
libarchive:  
libarchive: The libarchive library provides a single interface for 
libarchive: reading/writing various compression formats. Comes with these 
libarchive: sample tools: bsdtar and bsdcpio.  
libarchive: 
libarchive: 
libarchive: 
libarchive: 
libarchive: 
libarchive:
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	# use expat instead of libxml2, use nettle instead of openssl
	CONFFLAGS="$CONFFLAGS --disable-static --without-xml2 --without-openssl" 
	pkg_build_autoconf && pkg_build_slackdesc
}


