summaryrefslogtreecommitdiff
path: root/libraries/allegro
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 19:44:56 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 19:44:56 +0200
commitad04daa9e5b0f7455f9d96c0a9797a75f2828fdd (patch)
treedda5128e04b3d65a0227bc571c0e51350a1cf8ab /libraries/allegro
parent8c224b901e5a2dac867219900ff99d3910df3f13 (diff)
downloadslackbuilds-ad04daa9e5b0f7455f9d96c0a9797a75f2828fdd.tar.gz
libraries/allegro: Updated for version 4.2.1
Diffstat (limited to 'libraries/allegro')
-rw-r--r--libraries/allegro/README2
-rw-r--r--libraries/allegro/allegro.SlackBuild9
-rw-r--r--libraries/allegro/allegro.info2
-rw-r--r--libraries/allegro/slack-desc10
4 files changed, 16 insertions, 7 deletions
diff --git a/libraries/allegro/README b/libraries/allegro/README
index 26ebc0354f..920768e002 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 abe892188a..fc7c9cde54 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 9d605f0db0..01f0d002bf 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 60d2a051ec..55f22f9928 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,