summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-01-03 16:35:42 +0100
committerdsomero <xgizzmo@slackbuilds.org>2013-01-09 18:52:18 -0500
commitf35383043030c71f2b5adcd738e29a43aef2330d (patch)
tree507d8fdb12531f605229d5650dc0e081afeda234
parent205166bc3d44ba8cc8b2d4af431e49e3b9c53306 (diff)
downloadslackbuilds-f35383043030c71f2b5adcd738e29a43aef2330d.tar.gz
libraries/libnxml: Fixed libdir in the pkgconfig file.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/libnxml/libnxml.SlackBuild5
1 files changed, 4 insertions, 1 deletions
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