From e899983bd53104d9f4e9ed3be78d3e05fabd6257 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Thu, 13 May 2010 00:27:33 +0200 Subject: games/wormux: Updated for version 0.8.5 --- games/wormux/wormux.SlackBuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'games/wormux/wormux.SlackBuild') diff --git a/games/wormux/wormux.SlackBuild b/games/wormux/wormux.SlackBuild index ab0e9c1a7a..aa45790b73 100644 --- a/games/wormux/wormux.SlackBuild +++ b/games/wormux/wormux.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for wormux # Copyright 2007 Adnan Hodzic aka AbsintheSyringe -# Copyright 2008-2009 Heinz Wiesinger +# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ # Modified by the SlackBuilds.org project PRGNAM=wormux -VERSION=0.8.3 +VERSION=0.8.5 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,10 +38,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 @@ -59,14 +62,15 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --program-prefix="" \ --program-suffix="" \ --enable-fribidi \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux + --enable-servers \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG @@ -88,4 +92,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -p -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3