summaryrefslogtreecommitdiff
path: root/audio/zynaddsubfx/zynaddsubfx.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@slackbuilds.org>2011-04-04 00:38:16 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-04-04 00:38:16 -0300
commit7a1bcf8554db16ee2ee2b23d9cb32b1f5de84a3a (patch)
treed17bc8c1ed06735488f45b94d29401adb6653ca5 /audio/zynaddsubfx/zynaddsubfx.SlackBuild
parent5a36a420c8d96e1e1126411f94bbf3f81787951a (diff)
downloadslackbuilds-7a1bcf8554db16ee2ee2b23d9cb32b1f5de84a3a.tar.gz
audio/zynaddsubfx: Patched for new asciidoc.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/zynaddsubfx/zynaddsubfx.SlackBuild')
-rw-r--r--audio/zynaddsubfx/zynaddsubfx.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/zynaddsubfx/zynaddsubfx.SlackBuild b/audio/zynaddsubfx/zynaddsubfx.SlackBuild
index f759743f0f..9c087f97d2 100644
--- a/audio/zynaddsubfx/zynaddsubfx.SlackBuild
+++ b/audio/zynaddsubfx/zynaddsubfx.SlackBuild
@@ -6,18 +6,17 @@
# Modified by SlackBuilds.org
-SRCNAM=ZynAddSubFX
PRGNAM=zynaddsubfx
VERSION=${VERSION:-2.4.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
+SRCNAM=ZynAddSubFX
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -56,6 +55,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# This fixes a asciidoc problem.
+sed -i s/___________/===========/ doc/zynaddsubfx.txt
+
cd src
make \
LINUX_AUDIOOUT=JACK \