summaryrefslogtreecommitdiff
path: root/libraries/lame/lame.SlackBuild
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/lame.SlackBuild
parentd0fdc44ca87bdf0d40aec6f7bf58e62077625390 (diff)
downloadslackbuilds-f000b5f91caa2dd79cd73a1108610754dea78344.tar.gz
libraries/lame: Updated for version 3.98.2
Diffstat (limited to 'libraries/lame/lame.SlackBuild')
-rw-r--r--libraries/lame/lame.SlackBuild7
1 files changed, 6 insertions, 1 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