From ad04daa9e5b0f7455f9d96c0a9797a75f2828fdd Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Tue, 11 May 2010 19:44:56 +0200 Subject: libraries/allegro: Updated for version 4.2.1 --- libraries/allegro/README | 2 -- libraries/allegro/allegro.SlackBuild | 9 ++++++--- libraries/allegro/allegro.info | 2 +- libraries/allegro/slack-desc | 10 +++++++++- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/libraries/allegro/README b/libraries/allegro/README index 26ebc0354f9ad..920768e002218 100644 --- a/libraries/allegro/README +++ b/libraries/allegro/README @@ -3,7 +3,6 @@ needed in game programming, such as input, graphics, midi, sound effects, and timing. It is cross platform and works with many different compilers. Originally developed by Shawn Hargreaves, it is now a group project with contributions from all over the world! Some of its key features include: - * Ease of Use - comes with comprehensive documentation and examples * Extensibility - if the built-in functionality isn't enough, there are many add-ons available @@ -13,4 +12,3 @@ contributions from all over the world! Some of its key features include: * Open Source - anyone can contribute, including you! * Free - it won't cost you a dime, and there are no restrictions on its usage - diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild index abe892188aa61..fc7c9cde54199 100644 --- a/libraries/allegro/allegro.SlackBuild +++ b/libraries/allegro/allegro.SlackBuild @@ -12,7 +12,7 @@ VERSION=4.2.1 ARCH=${ARCH:-i586} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -41,12 +41,15 @@ make install DESTDIR=$PKG || exit 1 make install-gzipped-man DESTDIR=$PKG || exit 1 make install-gzipped-info DESTDIR=$PKG || exit 1 -find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +( cd $PKG + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a readme.txt todo.txt AUTHORS CHANGES THANKS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/allegro/allegro.info b/libraries/allegro/allegro.info index 9d605f0db04bf..01f0d002bfd3b 100644 --- a/libraries/allegro/allegro.info +++ b/libraries/allegro/allegro.info @@ -5,4 +5,4 @@ DOWNLOAD="http://www.allegro.cc/files/4.2.1/allegro-4.2.1.tar.gz" MD5SUM="0a09d0144ee8652fb8fa00f6cbb324fe" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" -APPROVED="elohim,robw810" +APPROVED="elohim,rworkman" diff --git a/libraries/allegro/slack-desc b/libraries/allegro/slack-desc index 60d2a051ecedc..55f22f9928f94 100644 --- a/libraries/allegro/slack-desc +++ b/libraries/allegro/slack-desc @@ -1,4 +1,12 @@ -allegro: Allegro - The Allegro Gaming Library +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +allegro: Allegro (The Allegro Gaming Library) allegro: allegro: The Allegro library provides C/C++ programmers low level routines allegro: commonly needed in game programing, such as input, graphics, midi, -- cgit v1.2.3