diff options
author | B. Watson <yalhcru@gmail.com> | 2016-08-03 06:35:11 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-13 07:22:55 +0700 |
commit | cfb5513da4c25c95fed607c33b37610493d6d59b (patch) | |
tree | 9df0a8ccc46046ae90025985b92d0a7f855fa4b4 /audio/match-vamp-plugin/match-vamp-plugin.SlackBuild | |
parent | bb224f84e58849427329a6d80e270406eb9bcff5 (diff) | |
download | slackbuilds-cfb5513da4c25c95fed607c33b37610493d6d59b.tar.gz |
audio/match-vamp-plugin: Updated for version 1.0.
Diffstat (limited to 'audio/match-vamp-plugin/match-vamp-plugin.SlackBuild')
-rw-r--r-- | audio/match-vamp-plugin/match-vamp-plugin.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/match-vamp-plugin/match-vamp-plugin.SlackBuild b/audio/match-vamp-plugin/match-vamp-plugin.SlackBuild index aa12e6c0f7..228b38ca00 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 |