diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2010-10-20 01:56:49 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-10-20 10:50:47 -0500 |
commit | 75a36a25375ac75c6b9fde22218fdf97a50f9a37 (patch) | |
tree | 1d11f3dbde8bd14fcbf5f95a65912d6e5441f193 /libraries/SDL_gfx | |
parent | c54807a5b9c2d437842170ffe319f5b9be84b1e9 (diff) |
libraries/SDL_gfx: Updated for version 2.0.22.
Diffstat (limited to 'libraries/SDL_gfx')
-rw-r--r-- | libraries/SDL_gfx/SDL_gfx.SlackBuild | 21 | ||||
-rw-r--r-- | libraries/SDL_gfx/SDL_gfx.info | 6 |
2 files changed, 17 insertions, 10 deletions
diff --git a/libraries/SDL_gfx/SDL_gfx.SlackBuild b/libraries/SDL_gfx/SDL_gfx.SlackBuild index 057c64bfb7d18..c9ae6114e6b70 100644 --- a/libraries/SDL_gfx/SDL_gfx.SlackBuild +++ b/libraries/SDL_gfx/SDL_gfx.SlackBuild @@ -22,11 +22,18 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=SDL_gfx -VERSION=${VERSION:-2.0.21} -ARCH=${ARCH:-i486} +VERSION=${VERSION:-2.0.22} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -52,16 +59,16 @@ set -e # Exit on any error. rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -cd $TMP +cd $TMP rm -rf $TMP/$PRGNAM-$VERSION -tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz +tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -79,9 +86,9 @@ CXXFLAGS="$SLKCFLAGS" \ --build=$ARCH-slackware-linux make -make install-strip DESTDIR=$PKG +make install-strip DESTDIR=$PKG -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README README-rpm Docs/* \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/SDL_gfx/SDL_gfx.info b/libraries/SDL_gfx/SDL_gfx.info index e335f0035801b..62dc77e89410b 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.21" +VERSION="2.0.22" HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/" -DOWNLOAD="http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.21.tar.gz" -MD5SUM="f3794d809ed6a415fb20dcc4c8ab9f5e" +DOWNLOAD="http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-2.0.22.tar.gz" +MD5SUM="330f291f1f09a1bdf397c9b40d92ca41" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Michiel van Wessem" |