summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/mp3gain/mp3gain.SlackBuild9
-rw-r--r--audio/mp3gain/mp3gain.info8
2 files changed, 8 insertions, 9 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
diff --git a/audio/mp3gain/mp3gain.info b/audio/mp3gain/mp3gain.info
index 7c24a72d7b..5116cec53e 100644
--- a/audio/mp3gain/mp3gain.info
+++ b/audio/mp3gain/mp3gain.info
@@ -1,10 +1,10 @@
PRGNAM="mp3gain"
-VERSION="1.4.6"
+VERSION="1.5.2.r2"
HOMEPAGE="http://mp3gain.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/mp3gain/mp3gain-1_4_6-src.zip"
-MD5SUM="4327167375dce5bce97625729a95fdb9"
+DOWNLOAD="http://downloads.sourceforge.net/mp3gain/mp3gain-1_5_2_r2-src.zip"
+MD5SUM="b8e429f3225cc298c5d13d31afd050b6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
-APPROVED="chess"
+APPROVED="dsomero"