summaryrefslogtreecommitdiff
path: root/curl/curl_7.11.0.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-04-06 17:15:54 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-04-06 17:15:54 +0000
commitda2cc246e926f165e7960b27fd22893dc1610928 (patch)
tree170ad614b9232701a40cc99e052050664bc0f095 /curl/curl_7.11.0.oe
parentcea2eea216139ccdc5db29e27ed0b81ccd6d4a20 (diff)
- fix curl-config. don't install unmodified -config files into STAGING_BINDIR. they most like contain wrong paths polluting CFLAGS and LDFLAGS!
- install clucene header files BKrev: 4072e5cajv2FyJgT6pk-0aIuFDXLmw
Diffstat (limited to 'curl/curl_7.11.0.oe')
-rw-r--r--curl/curl_7.11.0.oe5
1 files changed, 4 insertions, 1 deletions
diff --git a/curl/curl_7.11.0.oe b/curl/curl_7.11.0.oe
index 7b83ca4f52..6f07ca3735 100644
--- a/curl/curl_7.11.0.oe
+++ b/curl/curl_7.11.0.oe
@@ -15,5 +15,8 @@ do_stage () {
oe_soinstall lib/.libs/libcurl.so.2.0.2 ${STAGING_LIBDIR}/
install -m 0644 lib/.libs/libcurl.a ${STAGING_LIBDIR}/
install -m 0644 /lib/.libs/libcurl.lai ${STAGING_LIBDIR}/libcurl.la
- install -m 0755 curl-config ${STAGING_BINDIR}/
+
+ cat curl-config | sed -e "s,-I/usr/include,-I${STAGING_INCDIR}/," \
+ | sed -e "s,-L/usr/lib , , "> ${STAGING_BINDIR}/curl-config
+ chmod a+rx ${STAGING_BINDIR}/curl-config
}