summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2013-06-28 02:32:45 +0200
committer Niels Horn2013-06-28 02:32:45 +0200
commit46a89ba90823862f34b2244fbcf0a45b333c2753 (patch)
treeafabb0082d3db84b47e10f89e6ddb79326104c8f
parentbc8504ef1c8db69eb9c136e6cdc3107d867cb9e0 (diff)
downloadslackbuilds-46a89ba90823862f34b2244fbcf0a45b333c2753.tar.gz
audio/caps: Updated for version 0.9.7.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--audio/caps/README5
-rw-r--r--audio/caps/caps.SlackBuild23
-rw-r--r--audio/caps/caps.info8
3 files changed, 27 insertions, 9 deletions
diff --git a/audio/caps/README b/audio/caps/README
index bc7f5fbec9..b628c4b846 100644
--- a/audio/caps/README
+++ b/audio/caps/README
@@ -10,3 +10,8 @@ By default, CAPS will use SSE and/or SSE3 optimizations, if they are
supported on the build host. If you're building a package to be deployed
on a different system, you might need to set FORCE_SLACK_CFLAGS=yes in
the script's environment (this will completely disable SSE/SSE3).
+
+The CAPS HTML documentation is about 1MB in size, located in
+/usr/doc/caps-$VERSION/html/index.html. If you want to leave it out
+of the package (e.g. if you're building for an embedded system), set
+DOCS=no in the script's environment.
diff --git a/audio/caps/caps.SlackBuild b/audio/caps/caps.SlackBuild
index b066efc520..2d0a979c7e 100644
--- a/audio/caps/caps.SlackBuild
+++ b/audio/caps/caps.SlackBuild
@@ -4,10 +4,10 @@
# Written by B. Watson (yalhcru@gmail.com)
-# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details.
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
PRGNAM=caps
-VERSION=${VERSION:-0.4.5}
+VERSION=${VERSION:-0.9.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,13 +40,16 @@ fi
FORCE_SLACK_CFLAGS=${FORCE_SLACK_CFLAGS:-no}
+# not sure whether the docs will always be up to date, so:
+DOCVER=${DOCVER:-$VERSION}
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/${PRGNAM}_$VERSION.tar.gz
+tar xvf $CWD/${PRGNAM}_$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -70,11 +73,19 @@ make install \
chmod 0755 $PKG/usr/lib$LIBDIRSUFFIX/ladspa/*.so
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- CHANGES COPYING README $PRGNAM.html \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES COPYING README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# docs are in a separate tarball now.
+if [ "$DOCS:-yes" != "yes" ]; then
+ ( cd $PKG/usr/doc/$PRGNAM-$VERSION
+ tar xvf $CWD/$PRGNAM-doc_$DOCVER.tar.bz2
+ mv $PRGNAM-doc-$DOCVER html
+ chown root.root html/*
+ chmod 644 html/*
+ )
+fi
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/audio/caps/caps.info b/audio/caps/caps.info
index dce44ca991..2d41b3f6ca 100644
--- a/audio/caps/caps.info
+++ b/audio/caps/caps.info
@@ -1,8 +1,10 @@
PRGNAM="caps"
-VERSION="0.4.5"
+VERSION="0.9.7"
HOMEPAGE="http://quitte.de/dsp/caps.html"
-DOWNLOAD="http://quitte.de/dsp/caps_0.4.5.tar.gz"
-MD5SUM="f3fda0eec716202b658cc6075daa35d0"
+DOWNLOAD="http://quitte.de/dsp/caps_0.9.7.tar.bz2 \
+ http://quitte.de/dsp/caps-doc_0.9.7.tar.bz2"
+MD5SUM="d74582d3ae7a4244d3a77501693bbdf3 \
+ 03811f37b483aa793f098690b165df27"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ladspa_sdk"