summaryrefslogtreecommitdiffstats
path: root/source/l/libao
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libao')
-rwxr-xr-xsource/l/libao/libao.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/l/libao/libao.SlackBuild b/source/l/libao/libao.SlackBuild
index 1c7239aa2..16ae9ab4c 100755
--- a/source/l/libao/libao.SlackBuild
+++ b/source/l/libao/libao.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2011, 2016 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +23,12 @@
PKGNAM=libao
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
+ i?86) export ARCH=i586 ;;
arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
@@ -51,7 +51,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG
cd $TMP
rm -rf libao-$VERSION
-tar xvf $CWD/libao-$VERSION.tar.gz
+tar xvf $CWD/libao-$VERSION.tar.?z*
cd libao-$VERSION
chown -R root:root .
find . \
@@ -60,7 +60,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-#zcat $CWD/libao.use_new_alsa_api.diff.gz | patch -p1 --verbose
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \