aboutsummaryrefslogtreecommitdiffstats
path: root/main/neon/APKBUILD
blob: 5c4e3450ef40089c91fea290172dfc531ab182e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=neon
pkgver=0.29.6
pkgrel=1
pkgdesc="HTTP and WebDAV client library with a C interface"
url="http://www.webdav.org/neon/"
arch="all"
license="GPL LGPL"
makedepends="expat-dev openssl-dev zlib-dev"
depends=
depends_dev="$makedepends"
subpackages="$pkgname-dev $pkgname-doc"
source="http://www.webdav.org/$pkgname/$pkgname-$pkgver.tar.gz"

build () {
	cd "$srcdir/$pkgname-$pkgver"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-ssl \
		--with-expat \
		--without-gssapi \
		--disable-nls \
		--disable-socks \
		--enable-shared \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="591e0c82e6979e7e615211b386b8f6bc  neon-0.29.6.tar.gz"