libraries/OpenAL: Updated for version 1.10.622

This commit is contained in:
Erik Hanson 2010-05-13 00:28:36 +02:00 committed by David Somero
parent 890a8a9c55
commit 577255832d
2 changed files with 30 additions and 10 deletions

View file

@ -1,12 +1,30 @@
#!/bin/sh
#
# Slackware build script for OpenAL Soft
# Written by Erik Hanson erik@slackbuilds.org
# Modified by the SlackBuilds.org project
#
# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
#
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=OpenAL
SRCNAM=openal-soft
VERSION=1.7.411
VERSION=1.10.622
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -41,7 +59,7 @@ chmod -R u+w,go+r-w,a-s .
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX}
-DLIB_INSTALL_DIR=lib${LIBDIRSUFFIX}
make
make install/strip DESTDIR=$PKG
@ -54,4 +72,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="OpenAL"
VERSION="1.7.411"
VERSION="1.10.622"
HOMEPAGE="http://kcat.strangesoft.net/openal.html"
DOWNLOAD="http://kcat.strangesoft.net/openal-releases/openal-soft-1.7.411.tar.bz2"
MD5SUM="e8a14e6e0591b943c078c0616da0d413"
DOWNLOAD="http://kcat.strangesoft.net/openal-releases/openal-soft-1.10.622.tar.bz2"
DOWNLOAD_x86_64=""
MD5SUM="d6324d0e7a4fd799e48e720c023fe1c0"
MD5SUM_x86_64=""
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
APPROVED="rworkman"
APPROVED="dsomero"