summaryrefslogtreecommitdiff
path: root/libraries/SDL_gfx/SDL_gfx.SlackBuild
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-12 17:40:17 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:40:17 +0200
commitcde0c1e7eca15054d8a591df4e588e2732f0664a (patch)
tree05b77114e4353dbff174a609a1dd8d6c88f0b7b2 /libraries/SDL_gfx/SDL_gfx.SlackBuild
parentcfaaafaf3c76de28ab0c1d6d55c320bec4af6a2b (diff)
downloadslackbuilds-cde0c1e7eca15054d8a591df4e588e2732f0664a.tar.gz
libraries/SDL_gfx: Updated for version 2.0.19
Diffstat (limited to 'libraries/SDL_gfx/SDL_gfx.SlackBuild')
-rw-r--r--libraries/SDL_gfx/SDL_gfx.SlackBuild13
1 files changed, 7 insertions, 6 deletions
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