pkgsrc/audio/portaudio-devel/Makefile
ben 2b1fc0aca7 Initial import for portaudio-devel-20060521 (at this moment also known
as portaudio version 19), a portable cross-platform Audio API.

PortAudio is a free, cross platform, open-source, audio I/O library.  It
lets you write simple audio programs in 'C' that will compile and run on
many platforms including Windows, Macintosh (8,9,X), Unix (OSS), SGI, and
BeOS. PortAudio is intended to promote the exchange of audio synthesis
software between developers on different platforms, and was recently
selected as the audio component of a larger PortMusic project that includes
MIDI and sound file support.

PortAudio provides a very simple API for recording and/or playing sound
using a simple callback function.  Example programs are included that
synthesize sine waves and pink noise, perform fuzz distortion on a guitar,
list available audio devices, etc.
2006-05-21 22:21:10 +00:00

33 lines
895 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2006/05/21 22:21:10 ben Exp $
DISTNAME= pa_snapshot_v19
PKGNAME= portaudio-devel-20060521
CATEGORIES= audio
MASTER_SITES= http://www.portaudio.com/archives/
WRKSRC= ${WRKDIR}/portaudio
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.portaudio.com/
COMMENT= Portable cross-platform Audio API
NOT_FOR_PLATFORM= Interix-*-*
DIST_SUBDIR= ${PKGNAME_NOREV}
USE_TOOLS+= gmake pkg-config
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libdir=${PREFIX}/lib/portaudio2
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/portaudio2
CONFIGURE_ARGS+= --without-alsa
LDFLAGS+= ${LIBOSSAUDIO}
post-patch:
${TOUCH} ${WRKSRC}/libtool
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/portaudio2
${INSTALL_DATA_DIR} ${PREFIX}/lib/portaudio2
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"