From f35383043030c71f2b5adcd738e29a43aef2330d Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Thu, 3 Jan 2013 16:35:42 +0100 Subject: libraries/libnxml: Fixed libdir in the pkgconfig file. Signed-off-by: Matteo Bernardini --- libraries/libnxml/libnxml.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libraries/libnxml/libnxml.SlackBuild') diff --git a/libraries/libnxml/libnxml.SlackBuild b/libraries/libnxml/libnxml.SlackBuild index ff2b366f7f..41ed54d302 100644 --- a/libraries/libnxml/libnxml.SlackBuild +++ b/libraries/libnxml/libnxml.SlackBuild @@ -5,7 +5,7 @@ PRGNAM=libnxml VERSION=0.18.3 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -70,6 +70,9 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# Fix libdir in the pkgconfig file +sed -i "s|/lib$|/lib$LIBDIRSUFFIX|" $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/nxml.pc + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \ $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3