mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/lame: Updated for version 3.98.2
This commit is contained in:
parent
d0fdc44ca8
commit
f000b5f91c
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue