aboutsummaryrefslogtreecommitdiff
path: root/development/rarian/rarian.SlackBuild
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2010-05-13 00:25:29 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:25:29 +0200
commitf25ca8c623d6fcdb33f7d9ac995e5f2dc6c1f4a9 (patch)
treea9b074fb66a67e73393e8c58e3cc71e4a2c057e3 /development/rarian/rarian.SlackBuild
parent47c15d12dffad15b3e518fdf7b808e4774b7dab3 (diff)
development/rarian: Updated for version 0.8.1
Diffstat (limited to 'development/rarian/rarian.SlackBuild')
-rw-r--r--development/rarian/rarian.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/development/rarian/rarian.SlackBuild b/development/rarian/rarian.SlackBuild
index b0255070d2a0a..7802871069450 100644
--- a/development/rarian/rarian.SlackBuild
+++ b/development/rarian/rarian.SlackBuild
@@ -46,10 +46,13 @@ DOCS="MAINTAINERS TODO COPYING NEWS README INSTALL COPYING.UTILS COPYING.LIB Cha
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
@@ -71,6 +74,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-static=no \
@@ -97,4 +101,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}