From cfb5513da4c25c95fed607c33b37610493d6d59b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 3 Aug 2016 06:35:11 -0400 Subject: audio/match-vamp-plugin: Updated for version 1.0. --- audio/match-vamp-plugin/match-vamp-plugin.SlackBuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'audio/match-vamp-plugin/match-vamp-plugin.SlackBuild') diff --git a/audio/match-vamp-plugin/match-vamp-plugin.SlackBuild b/audio/match-vamp-plugin/match-vamp-plugin.SlackBuild index aa12e6c0f70e..228b38ca0056 100644 --- a/audio/match-vamp-plugin/match-vamp-plugin.SlackBuild +++ b/audio/match-vamp-plugin/match-vamp-plugin.SlackBuild @@ -7,10 +7,12 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=match-vamp-plugin -VERSION=${VERSION:-0.2.1} +VERSION=${VERSION:-1.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +TARNAME=$( echo $PRGNAM | cut -d- -f1,2 ) + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -43,9 +45,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $TARNAME-$VERSION +tar xvf $CWD/$TARNAME-$VERSION.tar.bz2 +cd $TARNAME-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -54,7 +56,7 @@ find -L . \ -exec chmod 644 {} \; # 20151122 bkw: Grr. How long has this been broken? -sed -i 's/-Wl,-Bstatic//' Makefile +sed 's/-Wl,-Bstatic//' Makefile.linux > Makefile # Just in case someone doesn't trust upstream's default CXXFLAGS: if [ "${FORCE_SLACK_CFLAGS:-no}" = "yes" ]; then -- cgit v1.2.3