audio/jack-rack: Optionally enable lash.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
B. Watson 2012-04-22 12:25:43 -04:00 committed by dsomero
parent db08929e7d
commit 287aa7159b
3 changed files with 12 additions and 3 deletions

View file

@ -5,5 +5,7 @@ rack can be filled with LADSPA effects plugins and can be controlled using
the ALSA sequencer. It's phat; it turns your computer into an effects box.
This requires jack-audio-connection-kit and ladspa_sdk.
Optional build dependency: lash
Optional build dependency: lash (pass LASH=yes to the script to enable)
Optional runtime dependency: ecasound (for /usr/bin/ecarack script)

View file

@ -6,7 +6,7 @@
PRGNAM=jack-rack
VERSION=${VERSION:-1.4.7}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -51,6 +51,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
if [ "${LASH:-no}" = "yes" ]; then
LASH_OPT="--enable-lash"
else
LASH_OPT="--disable-lash"
fi
# --docdir not supported
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -60,6 +66,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
$LASH_OPT \
--build=$ARCH-slackware-linux
make

View file

@ -7,4 +7,4 @@ MD5SUM="a29ef4001ee2916a1b758952c936adca"
MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
APPROVED="Niels Horn"
APPROVED="dsomero"