summaryrefslogtreecommitdiff
path: root/libxml
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-06-15 21:54:06 +0000
committerChris Larson <clarson@kergoth.com>2004-06-15 21:54:06 +0000
commitd585e7987e0782bb8aca615ac6094d82ed9db3fc (patch)
treeda31c0358e0ea86a0eec765a7c9a9fbc82aa6227 /libxml
parent3db35b034a6611e8c6c3968eb65b3b40af976975 (diff)
Install xml2-config into staging in libxml2.
BKrev: 40cf6ffevQylTqnbZ9_Ml6HiHSiqmA
Diffstat (limited to 'libxml')
-rw-r--r--libxml/libxml2_2.6.7.oe6
1 files changed, 6 insertions, 0 deletions
diff --git a/libxml/libxml2_2.6.7.oe b/libxml/libxml2_2.6.7.oe
index 0a58ee8ca9..694ba1a93b 100644
--- a/libxml/libxml2_2.6.7.oe
+++ b/libxml/libxml2_2.6.7.oe
@@ -24,6 +24,12 @@ do_stage () {
for i in ${headers}; do
install -m 0644 include/libxml/$i ${STAGING_INCDIR}/libxml2/libxml/$i
done
+
+ cat xml2-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}/xml2-config
+ chmod a+rx ${STAGING_BINDIR}/xml2-config
}
python populate_packages_prepend () {