From 688af5860edeccba5950527f1acef1686f30b86c Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Wed, 12 May 2010 17:41:28 +0200 Subject: [PATCH] libraries/liblrdf: Updated for version 0.4.0 --- libraries/liblrdf/liblrdf.SlackBuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libraries/liblrdf/liblrdf.SlackBuild b/libraries/liblrdf/liblrdf.SlackBuild index 1c36d5fc9d..b235acfbe0 100644 --- a/libraries/liblrdf/liblrdf.SlackBuild +++ b/libraries/liblrdf/liblrdf.SlackBuild @@ -26,8 +26,9 @@ PRGNAM=liblrdf VERSION=0.4.0 ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -35,8 +36,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -54,9 +60,11 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ - --disable-static + --disable-static \ + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG