diff options
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} |