summaryrefslogtreecommitdiff
path: root/audio/mp3gain/mp3gain.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2011-05-31 18:41:37 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:31:19 -0400
commit9877ec1527a3b00e2b6cf7a12260e88b9ea9865a (patch)
tree6639fdebd0f2afa41bacfa759f30d5e500cc6deb /audio/mp3gain/mp3gain.SlackBuild
parente858d369d9a4c76501623a5f2b0c04a33be4a312 (diff)
downloadslackbuilds-9877ec1527a3b00e2b6cf7a12260e88b9ea9865a.tar.gz
audio/mp3gain: Updated for version 1.5.2.r2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/mp3gain/mp3gain.SlackBuild')
-rw-r--r--audio/mp3gain/mp3gain.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/audio/mp3gain/mp3gain.SlackBuild b/audio/mp3gain/mp3gain.SlackBuild
index 3c35fffee1..e7b3a91bb8 100644
--- a/audio/mp3gain/mp3gain.SlackBuild
+++ b/audio/mp3gain/mp3gain.SlackBuild
@@ -5,17 +5,16 @@
# Written by B. Watson (yalhcru@gmail.com)
PRGNAM=mp3gain
-VERSION=${VERSION:-1.4.6}
-SRCVER=$( echo $VERSION | sed 's/\./_/g' )
+VERSION=${VERSION:-1.5.2.r2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
+SRCVER=$( echo $VERSION | sed 's/\./_/g' )
+
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
@@ -51,7 +50,7 @@ unzip $CWD/$PRGNAM-$SRCVER-src.zip
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
-sed -i -e "s/-O3/$SLKCFLAGS/" Makefile
+sed -i -e "s/^\(CFLAGS.*\)/\1 $SLKCFLAGS/" Makefile
make
strip $PRGNAM