aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:26:27 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:26:27 +0200
commit570060f4b594602f512393f7880d42a491c98184 (patch)
tree4f700a9a3c4a8f23431ad56a5909fc335db80321
parent11f6bafbcd2a71ed48d596ebc0c5d9e5841fb6b5 (diff)
games/gtklife: Updated for version 5.1
-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 f0473e7afa80..50c947848b84 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 0b691bc68357..b226b1d54e60 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"