blob: d53260b3cf02876119bfb5b0684b9f95015311f4 (
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
|
DESCRIPTION = "neon is an HTTP and WebDAV client library, with a C interface."
SECTION = "base"
LICENSE = "LGPL"
DEPENDS = "openssl zlib libxml2 expat time"
PR = "r1"
SRC_URI = "http://www.webdav.org/neon/neon-0.24.7.tar.gz \
file://no-func-checks.patch;patch=1"
inherit autotools lib_package
EXTRA_OECONF = " --with-ssl --with-libxml2 --with-expat --enable-shared"
do_stage () {
autotools_stage_includes
oe_libinstall -C src -so -a libneon ${STAGING_LIBDIR}/
cat neon-config | sed -e "s,^prefix=.*,prefix=${STAGING_BINDIR}/..," \
-e "s,^exec_prefix=.*,exec_prefix=${STAGING_BINDIR}/..," \
-e "s,^includedir=.*,includedir=${STAGING_INCDIR}," \
-e "s,^libdir=.*,libdir=${STAGING_LIBDIR}," > ${STAGING_BINDIR}/neon-config
chmod a+rx ${STAGING_BINDIR}/neon-config
}
|