aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/gtklife/gtklife.SlackBuild9
-rw-r--r--games/gtklife/gtklife.info2
2 files changed, 9 insertions, 2 deletions
diff --git a/games/gtklife/gtklife.SlackBuild b/games/gtklife/gtklife.SlackBuild
index f0473e7afa80e..50c947848b84e 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}
diff --git a/games/gtklife/gtklife.info b/games/gtklife/gtklife.info
index 0b691bc683574..b226b1d54e60d 100644
--- a/games/gtklife/gtklife.info
+++ b/games/gtklife/gtklife.info
@@ -2,7 +2,9 @@ PRGNAM="gtklife"
VERSION="5.1"
HOMEPAGE="http://ironphoenix.org/tril/gtklife/"
DOWNLOAD="http://ironphoenix.org/tril/gtklife/gtklife-5.1.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="a92ce6e2f9c66ede050143cf95f6afcd"
+MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
APPROVED="rworkman"