summaryrefslogtreecommitdiffstats
path: root/audio/jack/jack.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/jack/jack.SlackBuild')
-rw-r--r--audio/jack/jack.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/audio/jack/jack.SlackBuild b/audio/jack/jack.SlackBuild
index 9f1bcbdf40..30426e4c8e 100644
--- a/audio/jack/jack.SlackBuild
+++ b/audio/jack/jack.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for "jack2".
+# Slackware build script for jack (formerly jack2).
# Copyright 2014 Yanes Checcacci Balod <email removed>, Brazil
# Copyright 2014-2015 Marcel Saegebarth <email removed>
@@ -24,6 +24,7 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20210304 bkw: update for v1.9.17.
# 20201104 bkw: update for v1.9.16.
# 20200118 bkw: renamed from 'jack2' to 'jack'. If you want to see
# the old log: "git log -- audio/jack2"
@@ -36,7 +37,7 @@
# - i486 => i586.
PRGNAM=jack
-VERSION=${VERSION:-1.9.16}
+VERSION=${VERSION:-1.9.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -96,6 +97,7 @@ sed -i '/^Libs:/s,$, -lpthread,' jack.pc.in
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+LDFLAGS="-Wl,-s" \
./waf configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -108,11 +110,7 @@ CXXFLAGS="$SLKCFLAGS" \
./waf build
./waf install --destdir=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip $PKG/usr/man/man?/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild