blob: 734bf2721421bd69db65502ca1ed93ceeca70fa3 (
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.4
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
}
|