aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/ladspa_sdk/README4
-rw-r--r--audio/ladspa_sdk/ladspa_sdk.SlackBuild10
2 files changed, 8 insertions, 6 deletions
diff --git a/audio/ladspa_sdk/README b/audio/ladspa_sdk/README
index 986b1f42daa28..a55cccbc726ec 100644
--- a/audio/ladspa_sdk/README
+++ b/audio/ladspa_sdk/README
@@ -1,4 +1,4 @@
-The LADSPA-SDK is a software development kit for
+The LADSPA_SDK is a software development kit for
simple sound plugins. LADSPA is used by many programs,
so it's a simple way to integrate one plugin in various
-applications. \ No newline at end of file
+applications.
diff --git a/audio/ladspa_sdk/ladspa_sdk.SlackBuild b/audio/ladspa_sdk/ladspa_sdk.SlackBuild
index 9b2a48b08e7bb..0d79b1dab8ccc 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