diff options
author | Heinz Wiesinger <HMWiesinger@gmx.at> | 2010-05-12 17:37:06 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:37:06 +0200 |
commit | 85fa8fc31c3d26ce070497645e10897d71b1b375 (patch) | |
tree | 127ca2286bf254a256f8776494a04c9836cb055f /audio/ladspa_sdk/ladspa_sdk.SlackBuild | |
parent | f9af97f54ab4003b181f491e42fb179708286ead (diff) | |
download | slackbuilds-85fa8fc31c3d26ce070497645e10897d71b1b375.tar.gz |
audio/ladspa_sdk: Updated for version 1.13
Diffstat (limited to 'audio/ladspa_sdk/ladspa_sdk.SlackBuild')
-rw-r--r-- | audio/ladspa_sdk/ladspa_sdk.SlackBuild | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/audio/ladspa_sdk/ladspa_sdk.SlackBuild b/audio/ladspa_sdk/ladspa_sdk.SlackBuild index abc7870f7c..600f91b49a 100644 --- a/audio/ladspa_sdk/ladspa_sdk.SlackBuild +++ b/audio/ladspa_sdk/ladspa_sdk.SlackBuild @@ -28,7 +28,7 @@ PRGNAM=ladspa_sdk VERSION=1.13 ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -38,10 +38,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -58,17 +61,24 @@ chmod -R u+w,go+r-w,a-s . cd src make \ CFLAGS="$SLKCFLAGS -I. -Wall -Werror -fPIC" \ - INSTALL_PLUGINS_DIR="/usr/lib/ladspa" \ + INSTALL_PLUGINS_DIR="/usr/lib${LIBDIRSUFFIX}/ladspa" \ INSTALL_BINARY_DIR="/usr/bin" make install \ - INSTALL_PLUGINS_DIR="$PKG/usr/lib/ladspa" \ + INSTALL_PLUGINS_DIR="$PKG/usr/lib${LIBDIRSUFFIX}/ladspa" \ INSTALL_BINARY_DIR="$PKG/usr/bin" \ INSTALL_INCLUDE_DIR="$PKG/usr/include" cd - mkdir -p $PKG/etc/profile.d/ -cp $CWD/profile.d/* $PKG/etc/profile.d/ +cat << EOF > $PKG/etc/profile.d/ladspa.csh +#!/bin/csh +setenv LADSPA_PATH /usr/lib${LIBDIRSUFFIX}/ladspa +EOF +cat << EOF > $PKG/etc/profile.d/ladspa.sh +#!/bin/sh +export LADSPA_PATH=/usr/lib${LIBDIRSUFFIX}/ladspa +EOF chmod 0755 $PKG/etc/profile.d/* # Cleanup files left in /tmp by make |