fontconfig: needs host-gperf
[buildroot-gz.git] / package / lcms2 / lcms2.mk
blob9a4cf5ed24ac5ada4a06a2d974586b229084f38f
1 ################################################################################
3 # lcms2
5 ################################################################################
7 LCMS2_VERSION = 2.8
8 LCMS2_SITE = http://downloads.sourceforge.net/project/lcms/lcms/$(LCMS2_VERSION)
9 LCMS2_LICENSE = MIT
10 LCMS2_LICENSE_FILES = COPYING
11 LCMS2_INSTALL_STAGING = YES
13 ifeq ($(BR2_PACKAGE_JPEG),y)
14 LCMS2_CONF_OPTS += --with-jpeg
15 LCMS2_DEPENDENCIES += jpeg
16 else
17 LCMS2_CONF_OPTS += --without-jpeg
18 endif
20 ifeq ($(BR2_PACKAGE_TIFF),y)
21 LCMS2_CONF_OPTS += --with-tiff
22 LCMS2_DEPENDENCIES += tiff
23 else
24 LCMS2_CONF_OPTS += --without-tiff
25 endif
27 ifeq ($(BR2_PACKAGE_ZLIB),y)
28 LCMS2_CONF_OPTS += --with-zlib
29 LCMS2_DEPENDENCIES += zlib
30 else
31 LCMS2_CONF_OPTS += --without-zlib
32 endif
34 $(eval $(autotools-package))