# Maintainer: Natanael Copa pkgname=neon pkgver=0.30.2 pkgrel=0 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" depends="ca-certificates" depends_dev="$makedepends" subpackages="$pkgname-dev $pkgname-doc" source="http://www.webdav.org/$pkgname/$pkgname-$pkgver.tar.gz fix-libressl.patch" build () { cd "$srcdir/$pkgname-$pkgver" ./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 \ || return 1 make || return 1 } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install || return 1 } md5sums="e28d77bf14032d7f5046b3930704ef41 neon-0.30.2.tar.gz dba7462ee605cf9bac56b055311fccd3 fix-libressl.patch" sha256sums="db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca neon-0.30.2.tar.gz 5fba4305eabefcad04ba98ab5e0caa25bcc8a2ad5341aaa5186553f24391370a fix-libressl.patch" sha512sums="634caf87522e0bd2695c6fba39cae2465e403f9fbd8007eb10e4e035c765d24cb8da932c67bfa35c34aa51b90c7bc7037ebebaa1ec43259366d5d07233efc631 neon-0.30.2.tar.gz afca909b969153afc717ea917cfbf22cd4bf7938cba55284858cf757c682fe961fc045a1822e6fc8abc1d6ce506884afde8088aff269bd150075603c3b9d926b fix-libressl.patch"