summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/SDL_gfx/README3
-rw-r--r--libraries/SDL_gfx/SDL_gfx.SlackBuild13
-rw-r--r--libraries/SDL_gfx/SDL_gfx.info8
3 files changed, 14 insertions, 10 deletions
diff --git a/libraries/SDL_gfx/README b/libraries/SDL_gfx/README
index fb6089a3d0..53b20cb102 100644
--- a/libraries/SDL_gfx/README
+++ b/libraries/SDL_gfx/README
@@ -5,3 +5,6 @@ SDL_gfx library evolved out of the SDL_gfxPrimitives code which
provided basic drawing routines such as lines, circles or polygons
and SDL_rotozoom which implemented a interpolating rotozoomer for
SDL surfaces.
+
+homepage: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
+
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
diff --git a/libraries/SDL_gfx/SDL_gfx.info b/libraries/SDL_gfx/SDL_gfx.info
index 826a007d5e..d7ef084ab2 100644
--- a/libraries/SDL_gfx/SDL_gfx.info
+++ b/libraries/SDL_gfx/SDL_gfx.info
@@ -1,8 +1,8 @@
PRGNAM="SDL_gfx"
-VERSION="2.0.17"
+VERSION="2.0.19"
HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
-DOWNLOAD="http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.17.tar.gz"
-MD5SUM="a7ab98ad530fdc59a23f7dff502db8d3"
+DOWNLOAD="http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.19.tar.gz"
+MD5SUM="cf01ad6539ceea65887fc9ebdfe04b83"
MAINTAINER="Michiel van Wessem"
EMAIL="michiel@slackbuilds.org"
-APPROVED="David Somero"
+APPROVED="dsomero"