summaryrefslogtreecommitdiff
path: root/audio/lmms/lmms.SlackBuild
diff options
context:
space:
mode:
authorhackedhead <slackbuilds at hackedhead dot fastmail dot net>2010-05-13 00:21:28 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:21:28 +0200
commit5021c54d2aef43290d268064799be20c1bb5da4e (patch)
treef7095f6f37ba8738ef9307575abbc425a35c9636 /audio/lmms/lmms.SlackBuild
parent6fcf758c71d404e213916cbbaf11d9386ecd32d2 (diff)
downloadslackbuilds-5021c54d2aef43290d268064799be20c1bb5da4e.tar.gz
audio/lmms: Updated for version 0.4.2
Diffstat (limited to 'audio/lmms/lmms.SlackBuild')
-rw-r--r--audio/lmms/lmms.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/audio/lmms/lmms.SlackBuild b/audio/lmms/lmms.SlackBuild
index b517abb7e2..43635ae143 100644
--- a/audio/lmms/lmms.SlackBuild
+++ b/audio/lmms/lmms.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=lmms
VERSION=${VERSION:-0.4.2}
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -16,10 +16,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -56,4 +59,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}