summaryrefslogtreecommitdiff
path: root/package/multimedia/portaudio/portaudio.mk
diff options
context:
space:
mode:
authorMurat Demirten <mdemirten@yh.com.tr>2011-08-07 01:42:07 +0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-09-12 22:36:13 +0200
commita991e3e143408d573aa3d0a3090cabfac65a570e (patch)
treea588d5c19a6d7c58e53187f9e3a8670e55787a33 /package/multimedia/portaudio/portaudio.mk
parentd5b35e2c700c7316c90a0aee9710382e8b10e2cb (diff)
package: add portaudio
PortAudio is a free, cross-platform, open-source, audio I/O library. [Peter: fix whitespace, dependencies, alsa-lib name] Signed-off-by: Murat Demirten <mdemirten@yh.com.tr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
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))