summaryrefslogtreecommitdiffstats
path: root/src/aubio.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/aubio.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/aubio.mk')
-rw-r--r--src/aubio.mk29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/aubio.mk b/src/aubio.mk
new file mode 100644
index 0000000..6a5dc3e
--- /dev/null
+++ b/src/aubio.mk
@@ -0,0 +1,29 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html or doc/README for further information.
+
+# aubio
+PKG := aubio
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 0.3.2
+$(PKG)_CHECKSUM := 8ef7ccbf18a4fa6db712a9192acafc9c8d080978
+$(PKG)_SUBDIR := aubio-$($(PKG)_VERSION)
+$(PKG)_FILE := aubio-$($(PKG)_VERSION).tar.gz
+$(PKG)_WEBSITE := http://www.aubio.org
+$(PKG)_URL := http://www.aubio.org/pub/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc fftw libsamplerate libsndfile
+
+define $(PKG)_UPDATE
+ wget -q -O- 'http://www.aubio.org/download' | \
+ $(SED) -n 's,.*aubio-\([0-9][^>]*\)\.tar.*,\1,p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)' && autoconf && ./configure \
+ --host='$(TARGET)' \
+ --disable-shared \
+ --disable-jack \
+ --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