summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"