diff options
Diffstat (limited to 'audio/rosegarden/rosegarden.SlackBuild')
-rw-r--r-- | audio/rosegarden/rosegarden.SlackBuild | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/audio/rosegarden/rosegarden.SlackBuild b/audio/rosegarden/rosegarden.SlackBuild index af4017ee53..0b0dc67d98 100644 --- a/audio/rosegarden/rosegarden.SlackBuild +++ b/audio/rosegarden/rosegarden.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for rosegarden -# Copyright 2007-2014 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2007-2016 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ # No additional license terms :-) PRGNAM=rosegarden -VERSION=${VERSION:-14.02} +VERSION=${VERSION:-16.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -72,19 +72,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --mandir=/usr/man \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --with-qtdir=/usr/lib$LIBDIRSUFFIX/qt \ - --build=$ARCH-slackware-linux +cmake \ + -DCMAKE_C_FLAGS="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DLIB_SUFFIX="$LIBDIRSUFFIX" \ + -DBUILD_TESTING=OFF \ + . make - make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ |