diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-13 00:28:42 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:28:42 +0200 |
commit | 5afc7b7f7b842f5859e7bca09cae574e6b470cf2 (patch) | |
tree | c610e8204b4583c3be797fde901d622cbf3c22e1 /libraries/SDL_gfx | |
parent | 549cdb1109fd0424ac8db28425f35730081b14b7 (diff) |
libraries/SDL_gfx: Updated for version 2.0.20
Diffstat (limited to 'libraries/SDL_gfx')
-rw-r--r-- | libraries/SDL_gfx/SDL_gfx.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/SDL_gfx/SDL_gfx.info | 10 |
2 files changed, 20 insertions, 6 deletions
diff --git a/libraries/SDL_gfx/SDL_gfx.SlackBuild b/libraries/SDL_gfx/SDL_gfx.SlackBuild index 8bd131332535..08fc28040cd7 100644 --- a/libraries/SDL_gfx/SDL_gfx.SlackBuild +++ b/libraries/SDL_gfx/SDL_gfx.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=SDL_gfx -VERSION=${VERSION:-2.0.19} +VERSION=${VERSION:-2.0.20} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -32,10 +32,20 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +# Seems that having MMX enabled on x86_64 is not supported. So enabled +# it for i[46]86, but disable it otherwise. if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" + MIX=${MIX:-"en"} elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" + MIX=${MIX:-"en"} +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" + MIX=${MIX:-"dis"} fi set -e # Exit on any error. @@ -57,10 +67,12 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --${MIX}able-mmx \ --with-x \ --disable-static \ --disable-debug \ @@ -78,4 +90,4 @@ mkdir $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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/libraries/SDL_gfx/SDL_gfx.info b/libraries/SDL_gfx/SDL_gfx.info index d7ef084ab259..b4218a1cd84a 100644 --- a/libraries/SDL_gfx/SDL_gfx.info +++ b/libraries/SDL_gfx/SDL_gfx.info @@ -1,8 +1,10 @@ PRGNAM="SDL_gfx" -VERSION="2.0.19" +VERSION="2.0.20" HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/" -DOWNLOAD="http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.19.tar.gz" -MD5SUM="cf01ad6539ceea65887fc9ebdfe04b83" +DOWNLOAD="http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.20.tar.gz" +DOWNLOAD_x86_64="" +MD5SUM="8a787e538a8e4d80d4927535be5af083" +MD5SUM_x86_64="" MAINTAINER="Michiel van Wessem" EMAIL="michiel@slackbuilds.org" -APPROVED="dsomero" +APPROVED="Erik Hanson" |