diff options
Diffstat (limited to 'libraries/libsamplerate/libsamplerate.SlackBuild')
-rw-r--r-- | libraries/libsamplerate/libsamplerate.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/libraries/libsamplerate/libsamplerate.SlackBuild b/libraries/libsamplerate/libsamplerate.SlackBuild index a549c9f6e5b6f..a6b5d0fb45913 100644 --- a/libraries/libsamplerate/libsamplerate.SlackBuild +++ b/libraries/libsamplerate/libsamplerate.SlackBuild @@ -1,11 +1,11 @@ #!/bin/sh -# Slackware build script for libsamplerate 0.1.2 -# Written by paul wisehart wise@lupulin.net +# Slackware build script for libsamplerate 0.1.6 +# Written by paul wisehart paul@1ud2.com # Modified by Robby Workman <rworkman@slackbuilds.org> PRGNAM=libsamplerate -VERSION=0.1.4 +VERSION=0.1.6 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -17,10 +17,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 # Exit on most errors @@ -38,11 +41,11 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --disable-static \ --localstatedir=/var \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG |