From 884f3ff82287b04601ef944bbd7c87be8f408d60 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sun, 27 Nov 2011 14:37:03 -0600 Subject: audio/fluidsynth: Updated for version 1.1.5. Signed-off-by: Robby Workman --- audio/fluidsynth/fluidsynth.SlackBuild | 36 ++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 15 deletions(-) (limited to 'audio/fluidsynth/fluidsynth.SlackBuild') diff --git a/audio/fluidsynth/fluidsynth.SlackBuild b/audio/fluidsynth/fluidsynth.SlackBuild index 0d7efafe0c..493c2a8b19 100644 --- a/audio/fluidsynth/fluidsynth.SlackBuild +++ b/audio/fluidsynth/fluidsynth.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for fluidsynth -# Copyright 2008-2010 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2008-2011 Heinz Wiesinger, Amsterdam, The Netherlands # 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.1.3 +VERSION=1.1.5 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,20 +65,26 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --disable-static \ - --enable-ladspa=${LADSPA:-no} \ - --build=$ARCH-slackware-linux +mkdir build +cd build + cmake \ + -DCMAKE_C_FLAGS="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ + -DCMAKE_EXE_LINKER_FLAGS="-ltermcap" \ + -DCMAKE_SHARED_LINKER_FLAGS="-ltermcap" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DLIB_SUFFIX="$LIBDIRSUFFIX" \ + -DDOC_INSTALL_DIR="doc" \ + -DMAN_INSTALL_DIR="man/man1" \ + -Denable-ladspa="${LADSPA:-no}" \ + .. -make -make install-strip DESTDIR=$PKG + make + make install DESTDIR=$PKG +cd - + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; -- cgit v1.2.3