summaryrefslogtreecommitdiffstats
path: root/src/portaudio.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-01-26 14:50:50 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-01-26 14:50:50 (GMT)
commit495333b9d8beb5dbc5eecfdd9b685b8b883b2113 (patch)
tree49e35341c2655bdb32178c94f61aff59a51ef872 /src/portaudio.mk
parent4b4949fe11824882f422ceccd73723d14a1253fa (diff)
downloadmxe-495333b9d8beb5dbc5eecfdd9b685b8b883b2113.zip
mxe-495333b9d8beb5dbc5eecfdd9b685b8b883b2113.tar.gz
mxe-495333b9d8beb5dbc5eecfdd9b685b8b883b2113.tar.bz2
new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Diffstat (limited to 'src/portaudio.mk')
-rw-r--r--src/portaudio.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/portaudio.mk b/src/portaudio.mk
new file mode 100644
index 0000000..b1189f1
--- /dev/null
+++ b/src/portaudio.mk
@@ -0,0 +1,31 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html or doc/README for further information.
+
+# portaudio
+PKG := portaudio
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 19_20071207
+$(PKG)_CHECKSUM := 3841453bb7be672a15b6b632ade6f225eb0a4efc
+$(PKG)_SUBDIR := portaudio
+$(PKG)_FILE := pa_stable_v$($(PKG)_VERSION).tar.gz
+$(PKG)_WEBSITE := http://www.portaudio.com
+$(PKG)_URL := http://www.portaudio.com/archives/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc directx
+
+define $(PKG)_UPDATE
+ wget -q -O- 'http://www.portaudio.com/download.html' | \
+ $(SED) -n 's,.*pa_stable_v\([0-9][^>]*\)\.tar.*,\1,p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && autoconf && ./configure \
+ --host='$(TARGET)' \
+ --disable-shared \
+ --with-host_os=mingw \
+ --with-winapi=directx \
+ --with-dxdir=$(PREFIX)/$(TARGET) \
+ --prefix='$(PREFIX)/$(TARGET)'
+ $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+ $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+endef