blob: b6cfd5076fd016e148be731067402b9b2ed2b12e [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "An HTTP and WebDAV client library with a C interface"
2HOMEPAGE = "http://www.webdav.org/neon/"
3SECTION = "libs"
4LICENSE = "LGPLv2+"
5LIC_FILES_CHKSUM = "file://src/COPYING.LIB;md5=f30a9716ef3762e3467a2f62bf790f0a \
6 file://src/ne_utils.h;beginline=1;endline=20;md5=2caca609538eddaa6f6adf120a218037"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05007
8SRC_URI = "http://www.webdav.org/${BPN}/${BPN}-${PV}.tar.gz \
9 file://pkgconfig.patch \
10 file://gnutls_4.3_fixup.patch"
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050011
Patrick Williamsc124f4f2015-09-15 14:41:29 -050012SRC_URI[md5sum] = "231adebe5c2f78fded3e3df6e958878e"
13SRC_URI[sha256sum] = "00c626c0dc18d094ab374dbd9a354915bfe4776433289386ed489c2ec0845cdd"
14
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015inherit autotools binconfig-disabled lib_package pkgconfig
16
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050017# Enable gnutls or openssl, not both
18PACKAGECONFIG ?= "expat gnutls libproxy webdav zlib"
19PACKAGECONFIG_class-native = "expat gnutls webdav zlib"
20
21PACKAGECONFIG[expat] = "--with-expat,--without-expat,expat"
22PACKAGECONFIG[gnutls] = "--with-ssl=gnutls,,gnutls"
23PACKAGECONFIG[gssapi] = "--with-gssapi,--without-gssapi,krb5"
24PACKAGECONFIG[libproxy] = "--with-libproxy,--without-libproxy,libproxy"
25PACKAGECONFIG[libxml2] = "--with-libxml2,--without-libxml2,libxml2"
26PACKAGECONFIG[openssl] = "--with-ssl=openssl,,openssl"
27PACKAGECONFIG[webdav] = "--enable-webdav,--disable-webdav,"
28PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
29
30EXTRA_OECONF += "--enable-shared"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050031
32do_compile_append() {
33 oe_runmake -C test
34}
Patrick Williamsd8c66bc2016-06-20 12:57:21 -050035
36BINCONFIG = "${bindir}/neon-config"
37
38BBCLASSEXTEND = "native"