summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMustafa Yuecel <yuecelm@ee.ethz.ch>2006-03-10 22:17:06 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-10 22:17:06 +0000
commit97ea9e42c5a7213362eaee90b02c722503ccecae (patch)
tree691a09ee6654eb1a9a71286edddcbff68c9489d5
parent90771f922531102b9732c3df2373bfec247117ae (diff)
neon-0.24.7: add SSL support
- add openssl and time to DEPENDS - add lib_package to inherit - copy neon-config to staging dir (used by davfs2)
-rw-r--r--packages/neon/neon_0.24.7.bb18
1 files changed, 12 insertions, 6 deletions
diff --git a/packages/neon/neon_0.24.7.bb b/packages/neon/neon_0.24.7.bb
index 2e2ba4de59..d53260b3cf 100644
--- a/packages/neon/neon_0.24.7.bb
+++ b/packages/neon/neon_0.24.7.bb
@@ -1,18 +1,24 @@
-inherit autotools
-
-DEPENDS = "zlib libxml2 expat"
+DESCRIPTION = "neon is an HTTP and WebDAV client library, with a C interface."
SECTION = "base"
LICENSE = "LGPL"
-DESCRIPTION = "neon is an HTTP and WebDAV client library, with a C interface."
+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"
-EXTRA_OECONF = " --without-ssl --with-libxml2 --with-expat \
- --enable-shared --enable-static"
+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
}