summaryrefslogtreecommitdiffstats
path: root/audio/butt
diff options
context:
space:
mode:
Diffstat (limited to 'audio/butt')
-rw-r--r--audio/butt/README8
-rw-r--r--audio/butt/butt.SlackBuild18
-rw-r--r--audio/butt/butt.info2
3 files changed, 15 insertions, 13 deletions
diff --git a/audio/butt/README b/audio/butt/README
index 8fd4390b12..69ea5e1344 100644
--- a/audio/butt/README
+++ b/audio/butt/README
@@ -10,12 +10,4 @@ http://sourceforge.net/projects/butt
irc.freenode.org #butt
-
Optional dependency: jack
-
-Technically, you don't have to compile this with
-lame for mp3 support, although that is the default
-of the configure script and so of this
-SlackBuild. If you want to not support mp3, then
-you can exclude lame and set --without-mp3 as a
-configure option.
diff --git a/audio/butt/butt.SlackBuild b/audio/butt/butt.SlackBuild
index 9d99d8d770..e3e7be14e9 100644
--- a/audio/butt/butt.SlackBuild
+++ b/audio/butt/butt.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for butt
# Copyright 2013-2019 klaatu | Lawrence NZ | klaatu@member.fsf.org
#
@@ -8,10 +8,13 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=butt
VERSION=${VERSION:-0.1.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
PREFIX=${PREFIX:-/usr}
MANDIR=${MANDIR:-$PREFIX/man}
DOCDIR=${DOCDIR:-$PREFIX/doc}
@@ -24,7 +27,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -54,7 +64,7 @@ find . \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \
--prefix $PREFIX \
--docdir $DOCDIR
@@ -91,4 +101,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/butt/butt.info b/audio/butt/butt.info
index 4a3191195b..e232d184d5 100644
--- a/audio/butt/butt.info
+++ b/audio/butt/butt.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://sourceforge.net/projects/butt/files/butt/butt-0.1.18/butt-0.1.1
MD5SUM="7197c6f2ca9239230713fdccd3713f22"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="portaudio fltk lame opus libfdk-aac"
+REQUIRES="portaudio fltk libfdk-aac"
MAINTAINER="Klaatu"
EMAIL="klaatu@member.fsf.org"