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

# source: BLFS 11.3
TARBALL=neon-$PKGVER.tar.gz
MD5SUM=7976b1cd67b7228cddb7eb4f39640ac5
SRC_URL=https://notroj.github.io/neon/$TARBALL
BUNDLE=

SLACKREQ='expat openssl'
SLACKDESC="libneon: libneon $PKGVER (HTTP and WebDAV client library)  
libneon:  
libneon: libneon is an HTTP and WebDAV client library, with a C interface.  
libneon: 
libneon: https://notroj.github.io/neon/
libneon: 
libneon: 
libneon: 
libneon: 
libneon: 
libneon:  
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/neon* &&
	
	CONFFLAGS="$CONFFLAGS --enable-shared --with-ssl --disable-static \
		--with-ca-bundle=/etc/ssl/ca-bundle.crt --with-expat" # or --with-libxml2 or --with-ssl=gnutls

	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	
	# multilib
	mv -v /usr/bin/neon-config{,-64} &&
	ln -sfv multiarch_wrapper /usr/bin/neon-config

}


