summaryrefslogtreecommitdiff
path: root/repo/neon/neon.xibuild
blob: 1e2d362825f3b996d578f0dbf8b4e04ba880c518 (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
#!/bin/sh

NAME="neon"
DESC="HTTP and WebDAV client library with a C interface"

MAKEDEPS="expat openssl zlib gzip xmlto autoconf automake libtool"

PKG_VER=0.32.2
SOURCE="https://github.com/notroj/neon/archive/$PKG_VER.tar.gz"

prepare() {
	./autogen.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--with-ssl \
		--with-expat \
		--without-gssapi \
		--disable-nls \
		--enable-shared \
		--disable-static \
		--enable-threadsafe-ssl=posix \
		--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
	make && make docs
}

package() {
	make -j1 DESTDIR="$PKG_DEST" install
}