libraries/OpenAL: Updated for version 0.0.8

This commit is contained in:
Erik Hanson 2010-05-11 19:44:55 +02:00 committed by Robby Workman
parent 0bd2c7bd69
commit b33765d58c
3 changed files with 14 additions and 13 deletions

View file

@ -4,14 +4,15 @@
# Written by Erik Hanson erik@slackbuilds.org # Written by Erik Hanson erik@slackbuilds.org
# Modified by the SlackBuilds.org project # Modified by the SlackBuilds.org project
CWD=`pwd` PRGNAM=OpenAL
TMP=${TMP:-/tmp/SBo} SRCNAM=openal
PKG=$TMP/package-OpenAL
VERSION=0.0.8 VERSION=0.0.8
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
@ -23,8 +24,8 @@ fi
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP || exit 1 cd $TMP || exit 1
rm -rf openal-$VERSION rm -rf $SRCNAM-$VERSION
tar -zxvf $CWD/openal-$VERSION.tar.gz || exit 1 tar -zxvf $CWD/$SRCNAM-$VERSION.tar.gz || exit 1
cd openal-$VERSION || exit 1 cd openal-$VERSION || exit 1
chown -R root:root . chown -R root:root .
chmod -R u+w,go+r-w,a-s . 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 # 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 \ cp -a AUTHORS COPYING ChangeLog INSTALL NEWS NOTES README TODO \
$PKG/usr/doc/openal-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/OpenAL.SlackBuild > $PKG/usr/doc/openal-$VERSION/openal.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuilld
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG 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

View file

@ -5,4 +5,4 @@ DOWNLOAD="http://www.openal.org/openal_webstf/downloads/openal-0.0.8.tar.gz"
MD5SUM="641cf53761f35ee979f3e888614797a0" MD5SUM="641cf53761f35ee979f3e888614797a0"
MAINTAINER="Erik Hanson" MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org" EMAIL="erik@slackbuilds.org"
APPROVED="robw810,elohim" APPROVED="rworkman,elohim"

View file

@ -5,8 +5,8 @@
# make exactly 11 lines for the formatting to be correct. It's also # make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'. # customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
OpenAL: OpenAL - a cross-platform 3D audio API OpenAL: OpenAL (a cross-platform 3D audio API)
OpenAL: OpenAL:
OpenAL: OpenAL is a cross-platform 3D audio API appropriate for use with gaming OpenAL: OpenAL is a cross-platform 3D audio API appropriate for use with gaming
OpenAL: applications and many other types of audio applications. OpenAL: applications and many other types of audio applications.