summaryrefslogtreecommitdiffstats
path: root/package/portaudio/portaudio.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/portaudio/portaudio.mk')
-rw-r--r--package/portaudio/portaudio.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/portaudio/portaudio.mk b/package/portaudio/portaudio.mk
new file mode 100644
index 000000000..a82473593
--- /dev/null
+++ b/package/portaudio/portaudio.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# portaudio
+#
+################################################################################
+
+PORTAUDIO_VERSION = V19
+PORTAUDIO_SITE = http://www.portaudio.com/archives
+PORTAUDIO_SOURCE = pa_stable_v19_20110326.tgz
+PORTAUDIO_INSTALL_STAGING = YES
+PORTAUDIO_MAKE = $(MAKE1)
+
+PORTAUDIO_DEPENDENCIES = \
+ $(if $(BR2_PACKAGE_PORTAUDIO_WITH_ALSA),alsa-lib)
+
+PORTAUDIO_CONF_OPT = \
+ $(if $(BR2_PACKAGE_PORTAUDIO_ALSA),--with-alsa,--without-alsa) \
+ $(if $(BR2_PACKAGE_PORTAUDIO_OSS),--with-oss,--without-oss) \
+ $(if $(BR2_PACKAGE_PORTAUDIO_CXX),--enable-cxx,--disable-cxx)
+
+$(eval $(call AUTOTARGETS))