summaryrefslogtreecommitdiff
path: root/libraries/lame
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-12 17:40:58 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-12 17:40:58 +0200
commitf000b5f91caa2dd79cd73a1108610754dea78344 (patch)
treefe359e460e20f3106af5d9f4d698ab4376c69f2b /libraries/lame
parentd0fdc44ca87bdf0d40aec6f7bf58e62077625390 (diff)
downloadslackbuilds-f000b5f91caa2dd79cd73a1108610754dea78344.tar.gz
libraries/lame: Updated for version 3.98.2
Diffstat (limited to 'libraries/lame')
-rw-r--r--libraries/lame/lame.SlackBuild7
-rw-r--r--libraries/lame/lame.info2
2 files changed, 7 insertions, 2 deletions
diff --git a/libraries/lame/lame.SlackBuild b/libraries/lame/lame.SlackBuild
index fcf6e1bc5a..53b448212b 100644
--- a/libraries/lame/lame.SlackBuild
+++ b/libraries/lame/lame.SlackBuild
@@ -36,10 +36,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.
@@ -61,9 +64,11 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
diff --git a/libraries/lame/lame.info b/libraries/lame/lame.info
index 0c5d0d9334..f4a0f46444 100644
--- a/libraries/lame/lame.info
+++ b/libraries/lame/lame.info
@@ -1,7 +1,7 @@
PRGNAM="lame"
VERSION="3.98.2"
HOMEPAGE="http://lame.sourceforge.net/"
-DOWNLOAD="http://dl.sourceforge.net/lame/lame-398-2.tar.gz"
+DOWNLOAD="http://downloads.sourceforge.net/lame/lame-398-2.tar.gz"
MD5SUM="719dae0ee675d0c16e0e89952930ed35"
MAINTAINER="Michiel van Wessem"
EMAIL="michiel@slackbuilds.org"