libraries/lame: Updated for version 3.98.2

This commit is contained in:
Michiel van Wessem 2010-05-11 22:23:47 +02:00 committed by Erik Hanson
parent 39956f79a2
commit 72f3b3faac
4 changed files with 32 additions and 26 deletions

View file

@ -1,3 +1,3 @@
LAME is an educational tool to be used for learning about MP3 encoding. The
goal of the LAME project is to use the open source model to improve the psycho
acoustics, noise shaping and speed of MP3.
LAME is an educational tool to be used for learning about MP3 encoding. The
goal of the LAME project is to use the open source model to improve the
psycho acoustics, noise shaping and speed of MP3.

View file

@ -1,8 +1,8 @@
#!/bin/sh
# Slackware build script for lame
# Copyright 2006 Martin Lefebvre <dadexter@gmail.com>
# Copyright 2008 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -22,13 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
set -e
PRGNAM=lame
VERSION=3.97
SRCVER=398-2
VERSION=3.98.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -38,17 +38,24 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
set -e # Exit on most errors.
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
rm -rf $PRGNAM-$SRCVER
tar -xzvf $CWD/$PRGNAM-$SRCVER.tar.gz
cd $PRGNAM-$SRCVER
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -61,12 +68,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
if [ -d $PKG/usr/man ]; then
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
fi
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a API COPYING ChangeLog DEFINES HACKING INSTALL* LICENSE README* \

View file

@ -1,8 +1,8 @@
PRGNAM="lame"
VERSION="3.97"
HOMEPAGE="http://www.mp3dev.org"
DOWNLOAD="http://dl.sourceforge.net/lame/lame-3.97.tar.gz"
MD5SUM="90a4acbb730d150dfe80de145126eef7"
MAINTAINER="Martin Lefebvre"
EMAIL="dadexter@gmail.com"
APPROVED="rworkman"
VERSION="3.98.2"
HOMEPAGE="http://lame.sourceforge.net/"
DOWNLOAD="http://dl.sourceforge.net/lame/lame-398-2.tar.gz"
MD5SUM="719dae0ee675d0c16e0e89952930ed35"
MAINTAINER="Michiel van Wessem"
EMAIL="michiel@slackbuilds.org"
APPROVED="Erik Hanson"

View file

@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
|-----handy-ruler------------------------------------------------------|
lame: Lame (LAME Ain't an Mp3 Encoder)
lame:
lame: LAME is an educational tool to be used for learning about MP3