openbsd-ports/audio/mpg123/Makefile

41 lines
967 B
Makefile
Raw Normal View History

2011-01-12 16:39:27 -05:00
# $OpenBSD: Makefile,v 1.55 2011/01/12 21:39:27 naddy Exp $
COMMENT= fast console MPEG audio player and decoder library
2011-01-12 16:39:27 -05:00
DISTNAME= mpg123-1.13.1
2010-12-25 15:51:06 -05:00
SHARED_LIBS= mpg123 2.3 # .29.0
CATEGORIES= audio
HOMEPAGE= http://www.mpg123.de/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# LGPL 2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
1998-10-06 19:18:44 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mpg123/}
EXTRACT_SUFX= .tar.bz2
2010-07-13 12:39:55 -04:00
WANTLIB= c ltdl m sndio
LIB_DEPENDS= devel/libtool,-ltdl
USE_LIBTOOL= Yes
SEPARATE_BUILD= simple
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} --enable-static \
2010-07-13 12:39:55 -04:00
--disable-lfs-alias \
--with-audio=sndio \
2010-12-25 15:51:06 -05:00
--with-module-suffix=.so \
--with-optimization=0
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build
.if ${MACHINE_ARCH} == "arm"
CONFIGURE_ARGS+=--with-cpu=arm_nofpu
.endif
.include <bsd.port.mk>