From 106455651a4e8ea4ba0089211ec85686e25fb5b0 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Thu, 13 May 2010 00:26:15 +0200 Subject: games/extremetuxracer: Updated for version 0.4 --- games/extremetuxracer/extremetuxracer.SlackBuild | 15 ++++++++++++--- games/extremetuxracer/extremetuxracer.desktop | 2 +- games/extremetuxracer/extremetuxracer.info | 6 ++++-- 3 files changed, 17 insertions(+), 6 deletions(-) (limited to 'games/extremetuxracer') diff --git a/games/extremetuxracer/extremetuxracer.SlackBuild b/games/extremetuxracer/extremetuxracer.SlackBuild index 0591a7b30e..d7a9d56435 100644 --- a/games/extremetuxracer/extremetuxracer.SlackBuild +++ b/games/extremetuxracer/extremetuxracer.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for extremetuxracer -# Copyright 2008 Heinz Wiesinger +# Copyright 2008-2009 Heinz Wiesinger # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -35,8 +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 @@ -54,10 +59,14 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --bindir=/usr/games \ + --libdir=/usr/lib$LIBDIRSUFFIX \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --disable-static + --disable-static \ + --with-tcl=/usr/lib$LIBDIRSUFFIX \ + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG @@ -78,4 +87,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/extremetuxracer/extremetuxracer.desktop b/games/extremetuxracer/extremetuxracer.desktop index 2ed6f8e276..1e73eb980c 100644 --- a/games/extremetuxracer/extremetuxracer.desktop +++ b/games/extremetuxracer/extremetuxracer.desktop @@ -2,7 +2,7 @@ Encoding=UTF-8 Name=Extreme Tuxracer Comment=Racing game with Tux, the penguin -Exec=/usr/bin/etracer +Exec=etracer Icon=etracericon_48 Terminal=false Type=Application diff --git a/games/extremetuxracer/extremetuxracer.info b/games/extremetuxracer/extremetuxracer.info index 93942d8c15..9b666dbb49 100644 --- a/games/extremetuxracer/extremetuxracer.info +++ b/games/extremetuxracer/extremetuxracer.info @@ -2,7 +2,9 @@ PRGNAM="extremetuxracer" VERSION="0.4" HOMEPAGE="http://www.extremetuxracer.com" DOWNLOAD="http://downloads.sourceforge.net/extremetuxracer/extremetuxracer-0.4.tar.gz" +DOWNLOAD_x86_64="" MD5SUM="6830eb4e1ca7c5a541f286ded3853f9f" -MAINTAINER="ppr:kut" -EMAIL="HMWiesinger@gmx.at" +MD5SUM_x86_64="" +MAINTAINER="pprkut" +EMAIL="pprkut@liwjatan.at" APPROVED="Michiel" -- cgit v1.2.3