diff options
author | Paul Wisehart <wise@lupulin.net> | 2010-05-12 17:41:43 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-12 17:41:43 +0200 |
commit | ce629107a45b69962c3a124d5f7ba929c7ae9e17 (patch) | |
tree | 4417c21e8a27961810818403925c6435fb4d92e2 /libraries/libsamplerate/libsamplerate.SlackBuild | |
parent | 720b06f25ad4348ff207f8da1b9278f84215b622 (diff) |
libraries/libsamplerate: Updated for version 0.1.6
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 |