diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:28:36 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:28:36 +0200 |
commit | 577255832d86a35bb9bc84344921e90884a231c0 (patch) | |
tree | 9ff7e58264f35061e00a751bade9ec9d6ed58df9 /libraries/OpenAL/OpenAL.SlackBuild | |
parent | 890a8a9c55c78a035e052ac0d78f10958432699c (diff) | |
download | slackbuilds-577255832d86a35bb9bc84344921e90884a231c0.tar.gz |
libraries/OpenAL: Updated for version 1.10.622
Diffstat (limited to 'libraries/OpenAL/OpenAL.SlackBuild')
-rw-r--r-- | libraries/OpenAL/OpenAL.SlackBuild | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/libraries/OpenAL/OpenAL.SlackBuild b/libraries/OpenAL/OpenAL.SlackBuild index a7eea27caf..61ed8120bf 100644 --- a/libraries/OpenAL/OpenAL.SlackBuild +++ b/libraries/OpenAL/OpenAL.SlackBuild @@ -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} |