summaryrefslogtreecommitdiff
path: root/audio/rosegarden/rosegarden.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-13 00:22:01 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:22:01 +0200
commit23da0de297317f410aed84fc0049c2b0f6643506 (patch)
treebfc43ad6f52403668558026c7afda1b885cd61c5 /audio/rosegarden/rosegarden.SlackBuild
parentd2898180efb73a6dbd71c3dbbd11c2e9c8198695 (diff)
downloadslackbuilds-23da0de297317f410aed84fc0049c2b0f6643506.tar.gz
audio/rosegarden: Updated for version 1.7.3
Diffstat (limited to 'audio/rosegarden/rosegarden.SlackBuild')
-rw-r--r--audio/rosegarden/rosegarden.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/rosegarden/rosegarden.SlackBuild b/audio/rosegarden/rosegarden.SlackBuild
index 16c13c3901..2b79be4066 100644
--- a/audio/rosegarden/rosegarden.SlackBuild
+++ b/audio/rosegarden/rosegarden.SlackBuild
@@ -42,10 +42,13 @@ LIRC=${LIRC:-no}
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=""
fi
if [ "$LIRC" = 'yes' ]; then
@@ -73,6 +76,7 @@ cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX="$LIBDIRSUFFIX" \
-DWANT_LIRC=$LIRCOPT
make
@@ -90,4 +94,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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}