kumquat-buildroot/package/multimedia/portaudio/portaudio.mk
Thomas Petazzoni 300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00

22 lines
706 B
Makefile

################################################################################
#
# portaudio
#
################################################################################
PORTAUDIO_VERSION = V19
PORTAUDIO_SITE = http://www.portaudio.com/archives
PORTAUDIO_SOURCE = pa_stable_v19_20110326.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 $(call AUTOTARGETS))