summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libsamplerate/libsamplerate.SlackBuild13
-rw-r--r--libraries/libsamplerate/libsamplerate.info6
2 files changed, 11 insertions, 8 deletions
diff --git a/libraries/libsamplerate/libsamplerate.SlackBuild b/libraries/libsamplerate/libsamplerate.SlackBuild
index a549c9f6e5..a6b5d0fb45 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
diff --git a/libraries/libsamplerate/libsamplerate.info b/libraries/libsamplerate/libsamplerate.info
index a8e2f98b19..d4ce1a5513 100644
--- a/libraries/libsamplerate/libsamplerate.info
+++ b/libraries/libsamplerate/libsamplerate.info
@@ -1,8 +1,8 @@
PRGNAM="libsamplerate"
-VERSION="0.1.4"
+VERSION="0.1.6"
HOMEPAGE="http://www.mega-nerd.com/SRC/"
-DOWNLOAD="http://www.mega-nerd.com/SRC/libsamplerate-0.1.4.tar.gz"
-MD5SUM="f6fafd5d4971a2442352c72bc3598cbd"
+DOWNLOAD="http://www.mega-nerd.com/SRC/libsamplerate-0.1.6.tar.gz"
+MD5SUM="4ccc22b21f469aac672dda8eb1320ea4"
MAINTAINER="paul wisehart"
EMAIL="wise@lupulin.net"
APPROVED="rworkman"