summaryrefslogtreecommitdiff
path: root/package/multimedia/portaudio/portaudio.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/multimedia/portaudio/portaudio.mk')
-rw-r--r--package/multimedia/portaudio/portaudio.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/multimedia/portaudio/portaudio.mk b/package/multimedia/portaudio/portaudio.mk
new file mode 100644
index 000000000..67dfe361b
--- /dev/null
+++ b/package/multimedia/portaudio/portaudio.mk
@@ -0,0 +1,20 @@
+################################################################################
+#
+# portaudio
+#
+################################################################################
+
+PORTAUDIO_VERSION = V19
+PORTAUDIO_SITE = http://www.portaudio.com/archives
+PORTAUDIO_SOURCE = pa_stable_v19_20110326.tgz
+PORTAUDIO_INSTALL_STAGING = YES
+
+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,package/multimedia,portaudio))