summaryrefslogtreecommitdiff
path: root/audio/ladspa_sdk/ladspa_sdk.SlackBuild
diff options
context:
space:
mode:
authorppr:kut <HMWiesinger@gmx.at>2010-12-17 16:03:55 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-20 22:43:45 -0600
commit81e640bc875bfdacb5ff990d1893125214e733b3 (patch)
treee649db5e14834944c41d7c9ed8ec3b014d134a91 /audio/ladspa_sdk/ladspa_sdk.SlackBuild
parent89d53c76e99d11bd0cbc8aa5b19b0428d90b2d1b (diff)
downloadslackbuilds-81e640bc875bfdacb5ff990d1893125214e733b3.tar.gz
audio/ladspa_sdk: BUILD bump, small fixes.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'audio/ladspa_sdk/ladspa_sdk.SlackBuild')
-rw-r--r--audio/ladspa_sdk/ladspa_sdk.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/audio/ladspa_sdk/ladspa_sdk.SlackBuild b/audio/ladspa_sdk/ladspa_sdk.SlackBuild
index 9b2a48b08e..0d79b1dab8 100644
--- a/audio/ladspa_sdk/ladspa_sdk.SlackBuild
+++ b/audio/ladspa_sdk/ladspa_sdk.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Slackware build script for ladspa-sdk
+# Slackware build script for ladspa_sdk
# Copyright 2007-2008 Heinz Wiesinger <hmwiesinger@gmx.at>
# All rights reserved.
@@ -27,15 +27,13 @@
PRGNAM=ladspa_sdk
VERSION=1.13
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
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
@@ -101,6 +99,10 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README doc/* $PKG/usr/doc/$PRGNAM-$VERSION
+# ladspa.h.txt is a symbolic link to ../src/ladspa.h, which will not exist in
+# the package. Let's fix that.
+rm -f $PKG/usr/doc/$PRGNAM-$VERSION/ladspa.h.txt
+cat src/ladspa.h > $PKG/usr/doc/$PRGNAM-$VERSION/ladspa.h.txt
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install