summaryrefslogtreecommitdiffstats
path: root/main/neon/APKBUILD
blob: c02f6f2389ea6737a708f57b0befc9af4b31cfdc (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
38
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=neon
pkgver=0.30.0
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="fb60b3a124eeec441937a812c456fd94  neon-0.30.0.tar.gz"
sha256sums="2962cfcb5d30f3272e3d2fa0e473434419770a3801afe3d46e5d1650787990c2  neon-0.30.0.tar.gz"
sha512sums="67f8a6c5549c37d984d8a0af88cd93c8c51593fa995662fd686e47acb630143d7b0c02c09d3c19f6a0181e0ff82940618cf72a76f9cb17bb964293f4118f013e  neon-0.30.0.tar.gz"