From: Chris Larson Date: Tue, 15 Jun 2004 21:54:06 +0000 (+0000) Subject: Install xml2-config into staging in libxml2. X-Git-Tag: Release-2010-05/1~18687 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d585e7987e0782bb8aca615ac6094d82ed9db3fc;p=openembedded.git Install xml2-config into staging in libxml2. BKrev: 40cf6ffevQylTqnbZ9_Ml6HiHSiqmA --- 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 () {