libraries/SDL_gfx: Updated for version 2.0.19

This commit is contained in:
Michiel van Wessem 2010-05-12 17:40:17 +02:00 committed by David Somero
parent cfaaafaf3c
commit cde0c1e7ec
3 changed files with 14 additions and 10 deletions

View file

@ -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/

View file

@ -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

View file

@ -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"