2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-16 03:42:22 +01:00
|
|
|
#
|
|
|
|
# lcms2
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-16 03:42:22 +01:00
|
|
|
|
2013-10-07 09:08:41 +02:00
|
|
|
LCMS2_VERSION = 2.5
|
2013-03-16 03:42:22 +01:00
|
|
|
LCMS2_SITE = http://downloads.sourceforge.net/lcms/lcms
|
|
|
|
LCMS2_LICENSE = MIT
|
|
|
|
LCMS2_LICENSE_FILES = COPYING
|
2014-12-30 20:40:18 +01:00
|
|
|
LCMS2_INSTALL_STAGING = YES
|
2013-03-16 03:42:22 +01:00
|
|
|
|
2014-09-27 21:32:44 +02:00
|
|
|
LCMS2_CONF_OPTS = \
|
2013-03-16 03:42:22 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
LCMS2_CONF_OPTS += --with-jpeg
|
|
|
|
LCMS2_DEPENDENCIES += jpeg
|
2013-03-16 03:42:22 +01:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
LCMS2_CONF_OPTS += --without-jpeg
|
2013-03-16 03:42:22 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_TIFF),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
LCMS2_CONF_OPTS += --with-tiff
|
|
|
|
LCMS2_DEPENDENCIES += tiff
|
2013-03-16 03:42:22 +01:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
LCMS2_CONF_OPTS += --without-tiff
|
2013-03-16 03:42:22 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
LCMS2_CONF_OPTS += --with-zlib
|
|
|
|
LCMS2_DEPENDENCIES += zlib
|
2013-03-16 03:42:22 +01:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
LCMS2_CONF_OPTS += --without-zlib
|
2013-03-16 03:42:22 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|