diff options
Diffstat (limited to 'audio/mp3gain/mp3gain.SlackBuild')
-rw-r--r-- | audio/mp3gain/mp3gain.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/audio/mp3gain/mp3gain.SlackBuild b/audio/mp3gain/mp3gain.SlackBuild index 3c35fffee18d0..e7b3a91bb8d78 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 |