summaryrefslogtreecommitdiff
path: root/desktop/murrine/murrine.SlackBuild
diff options
context:
space:
mode:
authorGrigorios Bouzakis <grbzks@gmail.com>2010-05-13 00:22:53 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:22:53 +0200
commit3d493a948ed2c711ef940dad78241008ad75f339 (patch)
tree1da3fe249dbf768e067e836987451c35903d4930 /desktop/murrine/murrine.SlackBuild
parente9c902a0bacad18483702597efeaf309e2ea5ed3 (diff)
downloadslackbuilds-3d493a948ed2c711ef940dad78241008ad75f339.tar.gz
desktop/murrine: Updated for version 0.90.3
Diffstat (limited to 'desktop/murrine/murrine.SlackBuild')
-rw-r--r--desktop/murrine/murrine.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/desktop/murrine/murrine.SlackBuild b/desktop/murrine/murrine.SlackBuild
index 8ac7bf2456..c22a73c347 100644
--- a/desktop/murrine/murrine.SlackBuild
+++ b/desktop/murrine/murrine.SlackBuild
@@ -26,8 +26,13 @@ set -e
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
rm -rf $PKG
@@ -74,6 +79,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-animation
make
@@ -94,4 +100,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}