diff options
author | B. Watson <yalhcru@gmail.com> | 2014-09-15 14:14:03 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-09-15 14:14:03 +0700 |
commit | 8b6271e87aab017828940c7b6311e237f675ce50 (patch) | |
tree | 061ac369b1c47e8cdf300db4f171099a94a24224 /audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild | |
parent | c8995cae00fd900c796618df5e7cecbec4242b22 (diff) | |
download | slackbuilds-8b6271e87aab017828940c7b6311e237f675ce50.tar.gz |
audio/vamp-plugin-sdk: Updated for version 2.5 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild')
-rw-r--r-- | audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild b/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild index b7dd2865aa..135292b968 100644 --- a/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild +++ b/audio/vamp-plugin-sdk/vamp-plugin-sdk.SlackBuild @@ -1,12 +1,23 @@ #!/bin/sh -# Slackware build script for vamp +# Slackware build script for vamp-plugin-sdk # Written by Luis Henrique <lmello.009@gmail.com> +# Now maintained by B. Watson <yalhcru@gmail.com>, please don't bother +# Luis with questions as he no longer uses Slackware. + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. + +# 20140915 bkw: +# - Update for v2.5 +# - Get rid of static libs +# - Use sed instead of a diff for lib64 on x86_64 +# - Fix the x86_64 lib path in the .pc files, too + PRGNAM=vamp-plugin-sdk -VERSION=${VERSION:-2.4} -BUILD=${BUILD:-2} +VERSION=${VERSION:-2.5} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -52,7 +63,7 @@ find -L . \ -exec chmod 644 {} \; # Fix libdir on x86_64 -[ "$ARCH" = "x86_64" ] && patch -p1 < $CWD/libdir_x86_64.diff +sed -i "s,\<lib\>,&$LIBDIRSUFFIX,g" Makefile.in pkgconfig/*.pc.in CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -65,6 +76,9 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +# we don't want the static libs +rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.a + mkdir -p $PKG/etc/profile.d/ cat << EOF > $PKG/etc/profile.d/vamp.csh #!/bin/csh @@ -80,9 +94,7 @@ 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 \ - CHANGELOG COPYING INSTALL README README.compat \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGELOG COPYING INSTALL README* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |