kumquat-buildroot/package/libcdio/libcdio.mk
Peter Korsgaard 9eefa845a2 libcdio: make C++ support optional
C++ support is only needed for the example programs (that we don't build)
and C++ bindings.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-27 22:05:45 +01:00

29 lines
677 B
Makefile

################################################################################
#
# libcdio
#
################################################################################
LIBCDIO_VERSION = 0.90
LIBCDIO_SITE = $(BR2_GNU_MIRROR)/libcdio
LIBCDIO_INSTALL_STAGING = YES
LIBCDIO_LICENSE = GPLv3+
LIBCDIO_LICENSE_FILES = COPYING
LIBCDIO_CONF_OPT = --disable-example-progs --disable-cddb
ifeq ($(BR2_ENABLE_LOCALE),)
LIBCDIO_DEPENDENCIES += libiconv
endif
ifeq ($(BR2_INSTALL_LIBSTDCPP),)
LIBCDIO_CONF_OPT += --disable-cxx
endif
ifeq ($(BR2_PACKAGE_NCURSES),y)
LIBCDIO_DEPENDENCIES += ncurses
else
LIBCDIO_CONF_OPT += --without-cdda-player
endif
$(eval $(autotools-package))