kumquat-buildroot/package/multimedia/libao/libao.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
559 B
Makefile

#############################################################
#
# libao
#
#############################################################
LIBAO_VERSION = 1.1.0
LIBAO_SITE = http://downloads.xiph.org/releases/ao
LIBAO_DEPENDENCIES = host-pkg-config
LIBAO_INSTALL_STAGING = YES
LIBAO_CONF_OPT = --disable-esd --disable-wmm --disable-arts \
--disable-nas --disable-pulse
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
LIBAO_DEPENDENCIES += alsa-lib
LIBAO_CONF_OPT += --enable-alsa --enable-alsa-mmap
else
LIBAO_CONF_OPT += --disable-alsa
endif
$(eval $(call AUTOTARGETS))