# Template file for 'lame'
pkgname=lame
version=3.99.4
revision=1
subpackages="$pkgname-devel"
build_style=gnu-configure
configure_args="--enable-nasm --enable-shared"
makedepends="ncurses-devel"
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
	hostmakedepends="nasm"
fi
short_desc="Fast, high quality MP3 encoder"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://lame.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/lame/lame-${version}.tar.gz"
checksum=41431a029e40b1d4f5c1697e942fb74c8ab09855c880ce0f439cd782b7058ec4
long_desc="
 Following the great history of GNU naming, LAME originally stood for
 LAME Aint an Mp3 Encoder. LAME started life as a GPL'd patch against
 the dist10 ISO demonstration source, and thus was incapable of
 producing an mp3 stream or even being compiled by itself. But in May
 2000, the last remnants of the ISO source code were replaced, and now
 LAME is the source code for a fully GPL'd MP3 encoder, with speed and
 quality to rival all commercial competitors.

 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. Another goal of the LAME project is to use these improvements for
 the basis of a patent free audio compression codec for the GNU
 project."