pkgsrc/audio/lame/Makefile
wiz dc7b643e80 Update to 3.99.5:
LAME 3.99.5   February 28 2012

* Rogerio Brito
 * autotools: Fix compilation on alpha using proper ifdef guards. Thanks to Andres Mejia.
 * Small correction of the documentation.
* Robert Hegemann
 * Workaround for cygwin build problem. Tracker item [ 3480692 ] mingw-w64 compilation error
 * Fix for a problem when LAME is compiled with fast floating point math. It could result in bitrate bloat with silent input data.
 * Bug fix for tracker item [ 3486753 ] Artifacts at the beginning of decoded file
2012-03-07 14:43:47 +00:00

44 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.71 2012/03/07 14:43:47 wiz Exp $
DISTNAME= lame-3.99.5
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lame/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://lame.sourceforge.net/
COMMENT= Fast, high quality MP3 encoder
LICENSE= lame-license
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
LDFLAGS.SunOS+= -lm
.include "options.mk"
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH} == "alpha"
. include "../../math/libffm/buildlink3.mk"
# double is faster than float on Alpha
CFLAGS+= -O2 -Wall -fomit-frame-pointer -ffast-math -funroll-loops \
-mfp-regs -fschedule-insns -fschedule-insns2 \
-finline-functions -DFLOAT=double -DFLOAT_MAX=DBL_MAX
.endif
.if ${MACHINE_ARCH} == "i386" && ${OPSYS} != "SunOS" && ${OPSYS} != "Darwin" && ${OPSYS} != "Interix"
BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm
CONFIGURE_ARGS+= --enable-nasm
.endif
.if !empty(PKGSRC_COMPILER:Msunpro)
CONFIGURE_ENV+= ac_cv_header_xmmintrin_h=no
.endif
.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"