audio/caps: Updated for version 0.9.7.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
B. Watson 2013-06-27 21:32:45 -03:00 committed by Niels Horn
parent bc8504ef1c
commit 46a89ba908
3 changed files with 27 additions and 9 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"