core/neon/PKGBUILD

33 lines
893 B
Bash
Raw Permalink Normal View History

#
# Core packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dot]org>
2010-03-28 23:00:40 +08:00
# KEEP LIBTOOL FILES!
pkgname=neon
pkgver=0.29.6
pkgrel=4
2010-03-28 23:00:40 +08:00
pkgdesc="HTTP and WebDAV client library with a C interface"
arch=('x86_64')
2010-03-28 23:00:40 +08:00
license=('GPL' 'LGPL')
2011-08-19 05:53:29 +08:00
depends=('krb5' 'expat' 'ca-certificates')
2010-03-28 23:00:40 +08:00
url="http://www.webdav.org/neon/"
2010-05-16 23:08:55 +08:00
source=("http://www.webdav.org/neon/${pkgname}-${pkgver}.tar.gz")
md5sums=('591e0c82e6979e7e615211b386b8f6bc')
2010-05-16 23:08:55 +08:00
options=('libtool')
2010-03-28 23:00:40 +08:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
2010-05-16 23:08:55 +08:00
./configure --prefix=/usr \
--with-expat --enable-shared --disable-static \
--with-ssl=openssl --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
2011-08-19 05:53:29 +08:00
make
# fix invalid .so links in man pages
2011-08-19 05:53:29 +08:00
sed -i '/^\.so/s|\.so \([^.]\+\)\.\([[:digit:]]\)|.so man\2/\1.\2|' doc/man/*
2010-04-05 19:44:27 +08:00
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
2010-03-28 23:00:40 +08:00
make DESTDIR=${pkgdir} install
}