# $Id$ PNAME="lame" PVER="3.99.5" PBUILD="r1" PCAT="media-sound" DESCRIPTION="Lame - Ain't an MP3 Encoder, is an LGPL MP3 encoder." HOMEPAGE="http://lame.sourceforge.net/" DEPEND=">= sys-libs/ncurses-5.9 >= media-libs/libsndfile-1.0.24" SDEPEND=">= dev-lang/nasm-2" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mtools mbuild multilib SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) # filter old versions which breaks the logic UP2EXCLUDE="3.98" UP2DATE="updatecmd_sourceforge ${PNAME} gz" src_compile() { mconfigure \ --enable-shared \ --enable-nasm \ --enable-mp3rtp \ --disable-mp3x \ --enable-debug=no \ --with-fileio=sndfile \ || die mmake -j1 || die } src_install() { mmake DESTDIR=${BINDIR} pkghtmldir=/usr/share/doc/${PNAME}-${PVER}/html install || die minstallexec misc/mlame || die # some missing docs minstalldocs API ChangeLog HACKING README* STYLEGUIDE TODO USAGE || die minstallhtml misc/lameGUI.html Dll/LameDLLInterface.htm || die }