# # Core packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf # KEEP LIBTOOL FILES! pkgname=neon pkgver=0.29.6 pkgrel=3 pkgdesc="HTTP and WebDAV client library with a C interface" arch=('i686' 'x86_64') license=('GPL' 'LGPL') depends=('krb5' 'expat' 'ca-certificates') url="http://www.webdav.org/neon/" source=("http://www.webdav.org/neon/${pkgname}-${pkgver}.tar.gz") md5sums=('591e0c82e6979e7e615211b386b8f6bc') options=('libtool') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr \ --with-expat --enable-shared --disable-static \ --with-ssl=openssl --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt make # fix invalid .so links in man pages (FS#24902) sed -i '/^\.so/s|\.so \([^.]\+\)\.\([[:digit:]]\)|.so man\2/\1.\2|' doc/man/* } package() { cd ${srcdir}/${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }