diff options
Diffstat (limited to 'audio/lv2/lv2.SlackBuild')
-rw-r--r-- | audio/lv2/lv2.SlackBuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/audio/lv2/lv2.SlackBuild b/audio/lv2/lv2.SlackBuild index 663b300e883ae..bf9b5d3d22398 100644 --- a/audio/lv2/lv2.SlackBuild +++ b/audio/lv2/lv2.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for lv2core -# Copyright 2008-2014 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2008-2016 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=lv2 -VERSION=${VERSION:-1.8.0} +VERSION=${VERSION:-1.12.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,7 +71,8 @@ find -L . \ ./waf configure \ --prefix=/usr \ - --libdir=/usr/lib$LIBDIRSUFFIX + --libdir=/usr/lib$LIBDIRSUFFIX \ + --lv2dir=/usr/lib$LIBDIRSUFFIX/lv2 ./waf build ./waf install --destdir=$PKG @@ -90,8 +91,11 @@ EOF chmod 0755 $PKG/etc/profile.d/* +find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING NEWS README \ +cp -a COPYING NEWS README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |