aboutsummaryrefslogtreecommitdiffstats
path: root/main/neon/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/neon/APKBUILD')
-rw-r--r--main/neon/APKBUILD22
1 files changed, 14 insertions, 8 deletions
diff --git a/main/neon/APKBUILD b/main/neon/APKBUILD
index 534c75f0b9..d9713a1c48 100644
--- a/main/neon/APKBUILD
+++ b/main/neon/APKBUILD
@@ -1,20 +1,26 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=neon
-pkgver=0.30.2
-pkgrel=7
+pkgver=0.31.1
+pkgrel=0
pkgdesc="HTTP and WebDAV client library with a C interface"
-url="http://www.webdav.org/neon/"
+url="https://notroj.github.io/neon/"
arch="all"
license="LGPL-2.0-or-later"
-makedepends="expat-dev openssl-dev zlib-dev"
+makedepends="expat-dev openssl-dev zlib-dev gzip xmlto
+ autoconf automake libtool"
checkdepends="openssl"
depends="ca-certificates"
depends_dev="$makedepends"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://fossies.org/linux/www/neon-0.30.2.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/notroj/neon/archive/$pkgver.tar.gz"
# /usr/bin/openssl invocation fails in testsuite, not sure why
options="!check"
+prepare() {
+ default_prepare
+ ./autogen.sh
+}
+
build() {
./configure \
--build=$CBUILD \
@@ -28,7 +34,7 @@ build() {
--disable-static \
--enable-threadsafe-ssl=posix \
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
- make
+ make && make docs
}
check() {
@@ -36,6 +42,6 @@ check() {
}
package() {
- make DESTDIR="$pkgdir" install
+ make -j1 DESTDIR="$pkgdir" install
}
-sha512sums="634caf87522e0bd2695c6fba39cae2465e403f9fbd8007eb10e4e035c765d24cb8da932c67bfa35c34aa51b90c7bc7037ebebaa1ec43259366d5d07233efc631 neon-0.30.2.tar.gz"
+sha512sums="ddaa78983ddd2f913767b8f7ba1649bfde00103e335a851b465730778ceb446fec27cbbb93a3d46821a9fb48876cbcdd660b557419403a060527073b7bf1e6d5 neon-0.31.1.tar.gz"