summaryrefslogtreecommitdiff
path: root/package/portaudio/portaudio.mk
blob: 34b0bd9e9852db324a5b03a87bbc8de59d3f9f4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
################################################################################
#
# portaudio
#
################################################################################

PORTAUDIO_VERSION = v19_20111121
PORTAUDIO_SITE = http://www.portaudio.com/archives
PORTAUDIO_SOURCE = pa_stable_$(PORTAUDIO_VERSION).tgz
PORTAUDIO_INSTALL_STAGING = YES
PORTAUDIO_MAKE = $(MAKE1)

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 $(autotools-package))