summaryrefslogtreecommitdiff
path: root/audio/jack2/jack2.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-07-14 15:37:53 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-21 06:53:28 +0700
commit51c5b020f1680d5f9483445ea1bf546250b0ebdd (patch)
treeda406b6f01acc29c556b4d42919c0e9068234e3e /audio/jack2/jack2.SlackBuild
parent7760491a5dc119d63efe2704f1ca7b24284914ec (diff)
downloadslackbuilds-51c5b020f1680d5f9483445ea1bf546250b0ebdd.tar.gz
audio/jack2: Updated for version 1.9.12, new maintainer.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio/jack2/jack2.SlackBuild')
-rw-r--r--audio/jack2/jack2.SlackBuild31
1 files changed, 19 insertions, 12 deletions
diff --git a/audio/jack2/jack2.SlackBuild b/audio/jack2/jack2.SlackBuild
index 204c9293e3..764868e5a7 100644
--- a/audio/jack2/jack2.SlackBuild
+++ b/audio/jack2/jack2.SlackBuild
@@ -2,8 +2,9 @@
# Slackware build script for "jack2".
-# Copyright 2014 Yanes Checcacci Balod <yanes@pobox.com>, Brazil
-# Copyright 2014-2015 Marcel Saegebarth <marc@mos6581.de>
+# Copyright 2014 Yanes Checcacci Balod <email removed>, Brazil
+# Copyright 2014-2015 Marcel Saegebarth <email removed>
+# Copyright 2018 B. Watson <yalhcru@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,15 +24,20 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20180714 bkw:
+# - Take over maintenance.
+# - Update for v1.9.12.
+# - Move HTML docs to proper Slackware doc dir.
+# - i486 => i586.
+
PRGNAM=jack2
-SRCNAM=jack
-VERSION=${VERSION:-1.9.10}
+VERSION=${VERSION:-1.9.12}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +48,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i586"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -61,15 +67,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
-cd $SRCNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -77,6 +83,7 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man/man1 \
+ --htmldir=/usr/doc/$PRGNAM-$VERSION/html \
--classic \
--profile \
--dbus \