libraries/allegro: Updated for version 4.2.1

This commit is contained in:
Erik Hanson 2010-05-11 19:44:56 +02:00
parent 8c224b901e
commit ad04daa9e5
4 changed files with 16 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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,