aboutsummaryrefslogtreecommitdiff
path: root/libraries/liblrdf/liblrdf.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <HMWiesinger@gmx.at>2010-05-12 17:41:28 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:41:28 +0200
commit688af5860edeccba5950527f1acef1686f30b86c (patch)
treec4b44e6b19b2c00b6a2b317c7a98fd74842871ec /libraries/liblrdf/liblrdf.SlackBuild
parent06ad0c0c0eb85167bcbffe3df4bbb2c389069b2b (diff)
libraries/liblrdf: Updated for version 0.4.0
Diffstat (limited to 'libraries/liblrdf/liblrdf.SlackBuild')
-rw-r--r--libraries/liblrdf/liblrdf.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/libraries/liblrdf/liblrdf.SlackBuild b/libraries/liblrdf/liblrdf.SlackBuild
index 1c36d5fc9d25b..b235acfbe0e92 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