# Maintainer: Natanael Copa pkgname=neon pkgver=0.30.2 pkgrel=3 pkgdesc="HTTP and WebDAV client library with a C interface" url="http://www.webdav.org/neon/" arch="all" license="GPL LGPL" makedepends="expat-dev libressl-dev zlib-dev" checkdepends="libressl" depends="ca-certificates" depends_dev="$makedepends" subpackages="$pkgname-dev $pkgname-doc" source="https://fossies.org/linux/www/neon-0.30.2.tar.gz fix-libressl.patch" # /usr/bin/openssl invocation fails in testsuite, not sure why options="!check" build () { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --with-ssl \ --with-expat \ --without-gssapi \ --disable-nls \ --enable-shared \ --disable-static \ --enable-threadsafe-ssl=posix \ --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="634caf87522e0bd2695c6fba39cae2465e403f9fbd8007eb10e4e035c765d24cb8da932c67bfa35c34aa51b90c7bc7037ebebaa1ec43259366d5d07233efc631 neon-0.30.2.tar.gz a9ef4d5ef44518ac4df81a3e3d7532cf1eb7ee4018fd9c05ceeff0bc11d368bf2253af410e54142d73503772eb9e470ad6c0c7cd28f08d9d918b9587a685e1fc fix-libressl.patch"