diff options
author | Ryan P.C. McQuen <ryan.q@linux.com> | 2015-05-18 07:53:39 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-18 07:53:39 +0700 |
commit | fcde1b790b9300686be48f59d763c0d0d993be98 (patch) | |
tree | 14be533d000c494f2b7b2180f4cb72fd18a46583 /libraries/allegro | |
parent | a3f937bbfeeda658274805024f31b9f9774e6450 (diff) |
libraries/allegro: Updated for version 5.0.11 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/allegro')
-rw-r--r-- | libraries/allegro/allegro.SlackBuild | 30 | ||||
-rw-r--r-- | libraries/allegro/allegro.info | 10 |
2 files changed, 14 insertions, 26 deletions
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild index 5181e763be5ce..e3d8b983f6af2 100644 --- a/libraries/allegro/allegro.SlackBuild +++ b/libraries/allegro/allegro.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# # Slackware build script for allegro +# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com # # Copyright 2009-2011 Erik W. Hanson, Minneapolis, MN, USA # All rights reserved. @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=allegro -VERSION=${VERSION:-4.4.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-5.0.11} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -40,6 +40,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +DOCS="CHANGES* CONTRIBUTORS* LICENSE* README*" + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -67,7 +69,7 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; mkdir -p build cd build @@ -81,26 +83,12 @@ cd build make install DESTDIR=$PKG cd .. -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/share/allegro -cp language.dat keyboard.dat $PKG/usr/share/allegro -mkdir -p $PKG/etc -cp allegro.cfg $PKG/etc/allegro.cfg.new -gzip -9 $PKG/usr/info/*.info* - -# 20140512 bkw: if eawpats is installed, create a patches.dat so Allegro -# MIDI playback works. -if [ -e /usr/share/sounds/eawpats/default.cfg ]; then - LD_LIBRARY_PATH=$PKG/usr/lib$LIBDIRSUFFIX \ - $PKG/usr/bin/pat2dat \ - /usr/share/sounds/eawpats/default.cfg \ - $PKG/usr/share/$PRGNAM/patches.dat -fi - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a readme.txt todo.txt AUTHORS CHANGES THANKS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/allegro/allegro.info b/libraries/allegro/allegro.info index 78cc136b0282e..59c462e35c63e 100644 --- a/libraries/allegro/allegro.info +++ b/libraries/allegro/allegro.info @@ -1,10 +1,10 @@ PRGNAM="allegro" -VERSION="4.4.2" +VERSION="5.0.11" HOMEPAGE="http://www.allegro.cc/" -DOWNLOAD="http://downloads.sourceforge.net/alleg/allegro-4.4.2.tar.gz" -MD5SUM="4db71b0460fc99926ae91d223199c2e6" +DOWNLOAD="http://downloads.sourceforge.net/alleg/allegro-5.0.11.tar.gz" +MD5SUM="e9a02220fada0488ed1dec6d5a8f6d33" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="eawpats" -MAINTAINER="Erik Hanson" -EMAIL="erik@slackbuilds.org" +MAINTAINER="Ryan P.C. McQuen" +EMAIL="ryan.q@linux.com" |