summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobody <nobody@nowhere>2010-05-13 00:26:16 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:26:16 +0200
commitf7cd3d2e23aed2fefdb61dde57b79603cccc3748 (patch)
tree8bbb3ac6ab66e731c8fd1cbe06f086e2bdd50117
parent106455651a4e8ea4ba0089211ec85686e25fb5b0 (diff)
downloadslackbuilds-f7cd3d2e23aed2fefdb61dde57b79603cccc3748.tar.gz
games/foobillard: Updated for version 3.0a
-rw-r--r--games/foobillard/foobillard.SlackBuild9
-rw-r--r--games/foobillard/foobillard.info6
2 files changed, 11 insertions, 4 deletions
diff --git a/games/foobillard/foobillard.SlackBuild b/games/foobillard/foobillard.SlackBuild
index 10f65c4023..3bdf85c835 100644
--- a/games/foobillard/foobillard.SlackBuild
+++ b/games/foobillard/foobillard.SlackBuild
@@ -35,10 +35,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
@@ -60,9 +63,11 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --bindir=/usr/games \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
@@ -85,4 +90,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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/foobillard/foobillard.info b/games/foobillard/foobillard.info
index c20cab98b2..ee163cfa40 100644
--- a/games/foobillard/foobillard.info
+++ b/games/foobillard/foobillard.info
@@ -1,8 +1,10 @@
PRGNAM="foobillard"
VERSION="3.0a"
HOMEPAGE="http://foobillard.sunsite.dk/"
-DOWNLOAD="http://foobillard.sunsite.dk/dnl/foobillard-3.0a.tar.gz"
+DOWNLOAD="http://ftp.netbsd.org/pub/NetBSD/packages/distfiles/foobillard-3.0a.tar.gz"
MD5SUM="c2d92edeaaf8bfb18aa26f1c79931b7d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="nobody"
EMAIL="nobody@nowhere"
-APPROVED="rworkman"
+APPROVED="rworkman,pprkut"