aboutsummaryrefslogtreecommitdiff
path: root/libraries/OpenAL/OpenAL.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-11 19:44:55 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:55 +0200
commitb33765d58cfd066a311989fcb44f9b396ed5513e (patch)
tree22ca7b34b9353e62beec0051340c521cf551ef9e /libraries/OpenAL/OpenAL.SlackBuild
parent0bd2c7bd693f228913ca2fdb5b7a3de2e1fd3d48 (diff)
libraries/OpenAL: Updated for version 0.0.8
Diffstat (limited to 'libraries/OpenAL/OpenAL.SlackBuild')
-rw-r--r--libraries/OpenAL/OpenAL.SlackBuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/libraries/OpenAL/OpenAL.SlackBuild b/libraries/OpenAL/OpenAL.SlackBuild
index 51e06baa017f9..2f81269669636 100644
--- a/libraries/OpenAL/OpenAL.SlackBuild
+++ b/libraries/OpenAL/OpenAL.SlackBuild
@@ -4,14 +4,15 @@
# Written by Erik Hanson erik@slackbuilds.org
# Modified by the SlackBuilds.org project
-CWD=`pwd`
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-OpenAL
-
+PRGNAM=OpenAL
+SRCNAM=openal
VERSION=0.0.8
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
@@ -23,8 +24,8 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1
-rm -rf openal-$VERSION
-tar -zxvf $CWD/openal-$VERSION.tar.gz || exit 1
+rm -rf $SRCNAM-$VERSION
+tar -zxvf $CWD/$SRCNAM-$VERSION.tar.gz || exit 1
cd openal-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -45,13 +46,13 @@ make install DESTDIR=$PKG || exit 1
# This package has no man pages or info pages
-mkdir -p $PKG/usr/doc/openal-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL NEWS NOTES README TODO \
- $PKG/usr/doc/openal-$VERSION
-cat $CWD/OpenAL.SlackBuild > $PKG/usr/doc/openal-$VERSION/openal.SlackBuild
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuilld
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/OpenAL-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz