From cde0c1e7eca15054d8a591df4e588e2732f0664a Mon Sep 17 00:00:00 2001 From: Michiel van Wessem Date: Wed, 12 May 2010 17:40:17 +0200 Subject: libraries/SDL_gfx: Updated for version 2.0.19 --- libraries/SDL_gfx/SDL_gfx.SlackBuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'libraries/SDL_gfx/SDL_gfx.SlackBuild') diff --git a/libraries/SDL_gfx/SDL_gfx.SlackBuild b/libraries/SDL_gfx/SDL_gfx.SlackBuild index 28e139d3e1..8bd1313325 100644 --- a/libraries/SDL_gfx/SDL_gfx.SlackBuild +++ b/libraries/SDL_gfx/SDL_gfx.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for: SDL_gfx -# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom +# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=SDL_gfx -VERSION=2.0.17 +VERSION=${VERSION:-2.0.19} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,8 +36,6 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" fi set -e # Exit on any error. @@ -55,15 +53,18 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -CFLAGm="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ --with-x \ --disable-static \ - --disable-debug + --disable-debug \ + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG -- cgit v1.2.3