summaryrefslogtreecommitdiff
path: root/libraries/audiere
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/audiere')
-rw-r--r--libraries/audiere/audiere.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/libraries/audiere/audiere.SlackBuild b/libraries/audiere/audiere.SlackBuild
index 7237ace1bd..5b76cae81e 100644
--- a/libraries/audiere/audiere.SlackBuild
+++ b/libraries/audiere/audiere.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-1.9.4}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -38,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -53,8 +51,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-patch -p1 < $CWD/patches/audiere-1.9.4-gcc44.patch
-patch -p1 < $CWD/patches/audiere-1.9.4-flac.patch
+patch -p1 < $CWD/patches/audiere-1.9.4-gcc44.patch
+patch -p1 < $CWD/patches/audiere-1.9.4-flac.patch
patch -p1 < $CWD/patches/audiere-1.9.4-speex.patch
sh bootstrap
@@ -71,7 +69,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-# Not build examples
+# Not build examples
sed -i s/"SUBDIRS = doc src examples test"/"SUBDIRS = doc src test"/ Makefile
make
make install DESTDIR=$PKG