summaryrefslogtreecommitdiff
path: root/audio/portaudio-devel/Makefile
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2006-05-21 22:21:10 +0000
committerben <ben@pkgsrc.org>2006-05-21 22:21:10 +0000
commit022428afe036f56f7cdade4f372d9ed53177966f (patch)
tree05b9715abe51e6ca41679fb1bc23e4381485eecc /audio/portaudio-devel/Makefile
parent86da03913aad31b7070a26b5b18ee096b0c92eab (diff)
downloadpkgsrc-022428afe036f56f7cdade4f372d9ed53177966f.tar.gz
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.
Diffstat (limited to 'audio/portaudio-devel/Makefile')
-rw-r--r--audio/portaudio-devel/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/audio/portaudio-devel/Makefile b/audio/portaudio-devel/Makefile
new file mode 100644
index 00000000000..4e1a66f69d7
--- /dev/null
+++ b/audio/portaudio-devel/Makefile
@@ -0,0 +1,33 @@
+# $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"