annotate src/portaudio.mk @ 3942:f9273cae479a

portaudio: add missing \ after configure prefix * src/portaudio.mk: add \ after prefix= line
author John Donoghue
date Tue, 19 May 2015 14:45:33 -0400
parents 5fd074e27f85
children f96ff976ede7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1656
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
666
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := portaudio
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3641
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
6 $(PKG)_VERSION := 19_20140130
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
7 $(PKG)_CHECKSUM := 526a7955de59016a06680ac24209ecb6ce05527d
666
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := portaudio
2688
52c2d81ac7d5 Update PortAudio v19 from 20071207 to 20111121
Stefan Hajnoczi <stefanha@gmail.com>
parents: 2525
diff changeset
9 $(PKG)_FILE := pa_stable_v$($(PKG)_VERSION).tgz
666
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://www.portaudio.com/archives/$($(PKG)_FILE)
3641
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
11 $(PKG)_DEPS :=
666
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
14 $(WGET) -q -O- 'http://www.portaudio.com/download.html' | \
2804
f61e6eda0c2b package portaudio: fix update macro
Mark Brand <mabrand@mabrand.nl>
parents: 2733
diff changeset
15 $(SED) -n 's,.*pa_stable_v\([0-9][^>]*\)\.tgz.*,\1,p' | \
666
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
670
73d6b9460f74 improved coding style in package portaudio
Volker Grabsch <vog@notjusthosting.com>
parents: 666
diff changeset
20 cd '$(1)' && autoconf
3641
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
21 # libtool looks for a pei* format when linking shared libs
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
22 # apparently there's no real difference b/w pei and pe
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
23 # so we set the libtool cache variables
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
24 # https://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/libpei.h?annotate=1.25&cvsroot=src
670
73d6b9460f74 improved coding style in package portaudio
Volker Grabsch <vog@notjusthosting.com>
parents: 666
diff changeset
25 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
3942
f9273cae479a portaudio: add missing \ after configure prefix
John Donoghue
parents: 3776
diff changeset
27 --prefix='$(HOST_PREFIX)' \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2804
diff changeset
28 $(ENABLE_SHARED_OR_STATIC) \
666
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --with-host_os=mingw \
3641
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
30 --with-winapi=wmme,directx \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
31 --with-dxdir=$(HOST_PREFIX) \
3776
5fd074e27f85 audio: updates for libsound, portaudio
John Donoghue <john.donoghue@ieee.org>
parents: 3641
diff changeset
32 ac_cv_path_AR=$(MXE_AR) \
3641
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
33 $(if $(filter $(BUILD_SHARED),yes),\
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
34 lt_cv_deplibs_check_method='file_magic file format (pe-i386|pe-x86-64)' \
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
35 lt_cv_file_magic_cmd='$$OBJDUMP -f')
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
36 $(MAKE) -C '$(1)' -j '$(JOBS)' $(if $(filter $(BUILD_STATIC),yes),SHARED_FLAGS=) TESTS=
1656
7fb51f6d31af package portaudio: add test program, disable built-in tests, and remove superflous shared flag
Tony Theodore <tonyt@logyst.com>
parents: 854
diff changeset
37 $(MAKE) -C '$(1)' -j 1 install
7fb51f6d31af package portaudio: add test program, disable built-in tests, and remove superflous shared flag
Tony Theodore <tonyt@logyst.com>
parents: 854
diff changeset
38
666
e9828e3cf4f0 new packages: aubio, fftw, id3lib, liblo, libsamplerate and portaudio (by David García Garzón)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 endef
3641
f362e10a0fa7 portaudio: update to 19_20140130
John Donoghue
parents: 3480
diff changeset
40