diff options
Diffstat (limited to 'games/wormux/wormux.SlackBuild')
-rw-r--r-- | games/wormux/wormux.SlackBuild | 14 |
1 files changed, 9 insertions, 5 deletions
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 <AbsintheSyringe@gmail.com> -# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at> +# 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} |