aboutsummaryrefslogtreecommitdiff
path: root/audio/id3v2/id3v2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/id3v2/id3v2.SlackBuild')
-rw-r--r--audio/id3v2/id3v2.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/audio/id3v2/id3v2.SlackBuild b/audio/id3v2/id3v2.SlackBuild
index 142da5410a947..4db55a23becac 100644
--- a/audio/id3v2/id3v2.SlackBuild
+++ b/audio/id3v2/id3v2.SlackBuild
@@ -7,22 +7,20 @@
PRGNAM=id3v2
VERSION=0.1.11
BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
+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
CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
+TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
+OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -56,9 +54,9 @@ find . \
patch -p1 < $CWD/id3v2-0.1.11-fixup_Makefile.patch
patch -p1 < $CWD/id3v2-0.1.11-track_no-segfault.patch
-# The Makefile doesnt use DESTDIR, but the program is just an
-# executable and a man page (there's no apparent path-info compiled
-# into the binary). So we can fake it be using PREFIX and manually
+# The Makefile doesnt use DESTDIR, but the program is just an
+# executable and a man page (there's no apparent path-info compiled
+# into the binary). So we can fake it be using PREFIX and manually
# creating the direcories needed in $PKG
mkdir -p $PKG/usr/{bin,man/man1}
make OPT="$SLKCFLAGS"