diff options
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 |