summaryrefslogtreecommitdiff
path: root/audio/ladspa_sdk/ladspa_sdk.SlackBuild
diff options
context:
space:
mode:
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