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
|
|
|
|
2018-05-05 19:13:42 +02:00
|
|
|
LCMS2_VERSION = 2.9
|
2016-11-14 21:16:52 +01:00
|
|
|
LCMS2_SITE = http://downloads.sourceforge.net/project/lcms/lcms/$(LCMS2_VERSION)
|
2013-03-16 03:42:22 +01:00
|
|
|
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
|
|
|
|
|
|
|
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))
|
2018-04-29 14:15:20 +02:00
|
|
|
$(eval $(host-autotools-package))
|