aaffd209fa
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
36 lines
760 B
Makefile
36 lines
760 B
Makefile
################################################################################
|
|
#
|
|
# lcms2
|
|
#
|
|
################################################################################
|
|
|
|
LCMS2_VERSION = 2.5
|
|
LCMS2_SITE = http://downloads.sourceforge.net/lcms/lcms
|
|
LCMS2_LICENSE = MIT
|
|
LCMS2_LICENSE_FILES = COPYING
|
|
|
|
LCMS2_CONF_OPTS = \
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
|
LCMS2_CONF_OPTS += --with-jpeg
|
|
LCMS2_DEPENDENCIES += jpeg
|
|
else
|
|
LCMS2_CONF_OPTS += --without-jpeg
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_TIFF),y)
|
|
LCMS2_CONF_OPTS += --with-tiff
|
|
LCMS2_DEPENDENCIES += tiff
|
|
else
|
|
LCMS2_CONF_OPTS += --without-tiff
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
LCMS2_CONF_OPTS += --with-zlib
|
|
LCMS2_DEPENDENCIES += zlib
|
|
else
|
|
LCMS2_CONF_OPTS += --without-zlib
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|