mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
audio/jamin: Miscellaneous cleanups.
This commit is contained in:
parent
7bd4a9827f
commit
d4fa4f8324
2 changed files with 14 additions and 3 deletions
|
@ -3,5 +3,4 @@ interface. JAMin is an open source application designed to perform
|
|||
professional audio mastering of stereo input streams. It uses ladspa
|
||||
for digital signal processing (DSP).
|
||||
|
||||
This requires jack-audio-connection-kit, fftw, liblo,
|
||||
and libsndfile from SlackBuilds.org.
|
||||
This requires jack-audio-connection-kit, liblo, and libsndfile.
|
||||
|
|
|
@ -24,10 +24,19 @@
|
|||
|
||||
PRGNAM=jamin
|
||||
VERSION=0.95.0
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
# Automatically determine the architecture we're building on:
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) export ARCH=i486 ;;
|
||||
arm*) export ARCH=arm ;;
|
||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
||||
*) export ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -42,6 +51,9 @@ elif [ "$ARCH" = "i686" ]; then
|
|||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -eu
|
||||
|
|
Loading…
Reference in a new issue