aboutsummaryrefslogtreecommitdiff
path: root/audio/jack-rack/jack-rack.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-04-22 12:25:43 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-04-22 12:25:43 -0400
commit287aa7159bcb7a67ecd22609c73bed7abe3988f0 (patch)
tree1100c4b30ed35013c6dc68702dbfd456fa7cd9e9 /audio/jack-rack/jack-rack.SlackBuild
parentdb08929e7d282de1349d87b2e481b71ecb534503 (diff)
audio/jack-rack: Optionally enable lash.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/jack-rack/jack-rack.SlackBuild')
-rw-r--r--audio/jack-rack/jack-rack.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/jack-rack/jack-rack.SlackBuild b/audio/jack-rack/jack-rack.SlackBuild
index 450c5c4fd0355..d8b1e520cd25c 100644
--- a/audio/jack-rack/jack-rack.SlackBuild
+++ b/audio/jack-rack/jack-rack.SlackBuild
@@ -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