libraries/libsamplerate: Updated for version 0.1.6

This commit is contained in:
Paul Wisehart 2010-05-12 17:41:43 +02:00 committed by Robby Workman
parent 720b06f25a
commit ce629107a4
2 changed files with 11 additions and 8 deletions

View file

@ -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

View file

@ -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"