summaryrefslogtreecommitdiff
path: root/audio/fluidsynth/fluidsynth.SlackBuild
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-12 17:36:54 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 17:36:54 +0200
commit66db79e76240a27f063bf1c4a404f4c7b98d3d77 (patch)
tree1fd96bfe29ce21eccf707c369e74537284f01add /audio/fluidsynth/fluidsynth.SlackBuild
parent9159c9d46c0f730bac2cd7ad5c75928911204000 (diff)
downloadslackbuilds-66db79e76240a27f063bf1c4a404f4c7b98d3d77.tar.gz
audio/fluidsynth: Updated for version 1.0.9
Diffstat (limited to 'audio/fluidsynth/fluidsynth.SlackBuild')
-rw-r--r--audio/fluidsynth/fluidsynth.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/audio/fluidsynth/fluidsynth.SlackBuild b/audio/fluidsynth/fluidsynth.SlackBuild
index ba6cc3a254..2b17463510 100644
--- a/audio/fluidsynth/fluidsynth.SlackBuild
+++ b/audio/fluidsynth/fluidsynth.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for fluidsynth
-# Copyright 2008 Heinz Wiesinger <hmwiesinger@gmx.at>
+# Copyright 2008-2009 Heinz Wiesinger <pprkut@liwjatan.at>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=fluidsynth
-VERSION=1.0.8
+VERSION=1.0.9
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -58,7 +60,9 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-static \
- --enable-ladspa
+ --enable-ladspa \
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG