diff options
author | B. Watson <yalhcru@gmail.com> | 2015-11-10 15:51:39 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-14 07:07:23 +0700 |
commit | e827e7b0b14a45666e35f5e73ef49a736c5b45b9 (patch) | |
tree | 80242f2adb59a22710cef245e9b2c1d7b5c3ee08 /audio/jack-tools/jack-tools.SlackBuild | |
parent | 81e00baa11eef8506a561f21d8a60366e8de5497 (diff) |
audio/jack-tools: Updated for version 20141211.
Diffstat (limited to 'audio/jack-tools/jack-tools.SlackBuild')
-rw-r--r-- | audio/jack-tools/jack-tools.SlackBuild | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/audio/jack-tools/jack-tools.SlackBuild b/audio/jack-tools/jack-tools.SlackBuild index ade1c9e96e1ab..918ddd246339b 100644 --- a/audio/jack-tools/jack-tools.SlackBuild +++ b/audio/jack-tools/jack-tools.SlackBuild @@ -4,10 +4,18 @@ # Written by B. Watson (yalhcru@gmail.com) +# 20151110 bkw: +# - Updated for 20141211. This is the date of the latest darcs +# commit. Note that the c-common/ in the source tarball is the +# old one (from my jack-tools-20130616.tar.gz), since jack-tools +# won't compile against the latest c-common. Only jack-scope +# and jack-play have changed. +# - Add capability stuff. + # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=jack-tools -VERSION=${VERSION:-20130616} +VERSION=${VERSION:-20141211} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,7 +63,7 @@ mkdir -p $PKG/usr/bin $PKG/usr/include make install prefix=$PKG/usr strip $PKG/usr/bin/* -# man pages generated from *.text asciidoc files, then manually edited +# man pages generated from *.ad asciidoc files, then manually edited # to clean up the formatting. mkdir -p $PKG/usr/man/man1 for page in $CWD/man/*.1; do @@ -69,5 +77,12 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +# Only add capability stuff if not disabled: +if [ "${SETCAP:-yes}" = "yes" ]; then + cat $CWD/setcap.sh >> $PKG/install/doinst.sh + chown root:audio $PKG/usr/bin/* + chmod 0750 $PKG/usr/bin/* +fi + cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |