summaryrefslogtreecommitdiff
path: root/repo/neon
diff options
context:
space:
mode:
Diffstat (limited to 'repo/neon')
-rw-r--r--repo/neon/neon.xibuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/repo/neon/neon.xibuild b/repo/neon/neon.xibuild
new file mode 100644
index 0000000..1e2d362
--- /dev/null
+++ b/repo/neon/neon.xibuild
@@ -0,0 +1,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
+}