diff options
author | B. Watson <yalhcru@gmail.com> | 2010-05-13 00:26:27 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:26:27 +0200 |
commit | 570060f4b594602f512393f7880d42a491c98184 (patch) | |
tree | 4f700a9a3c4a8f23431ad56a5909fc335db80321 /games/gtklife/gtklife.SlackBuild | |
parent | 11f6bafbcd2a71ed48d596ebc0c5d9e5841fb6b5 (diff) | |
download | slackbuilds-570060f4b594602f512393f7880d42a491c98184.tar.gz |
games/gtklife: Updated for version 5.1
Diffstat (limited to 'games/gtklife/gtklife.SlackBuild')
-rw-r--r-- | games/gtklife/gtklife.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/games/gtklife/gtklife.SlackBuild b/games/gtklife/gtklife.SlackBuild index f0473e7afa..50c947848b 100644 --- a/games/gtklife/gtklife.SlackBuild +++ b/games/gtklife/gtklife.SlackBuild @@ -17,10 +17,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 @@ -38,7 +41,9 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --with-docdir=/usr/doc/$PRGNAM-$VERSION/html + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --with-docdir=/usr/doc/$PRGNAM-$VERSION/html \ + --build=$ARCH-slackware-linux make make install-strip prefix=$PKG/usr docdir=$PKG/usr/doc/$PRGNAM-$VERSION/html @@ -57,4 +62,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} |