kumquat-buildroot/package/lcms2/lcms2.mk
Fabrice Fontaine 58e319927f package/lcms2: add CPE variables
cpe:2.3🅰️littlecms:little_cms is a valid CPE identifier for this
package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Alittlecms%3Alittle_cms

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-01-16 21:56:48 +01:00

38 lines
881 B
Makefile

################################################################################
#
# lcms2
#
################################################################################
LCMS2_VERSION = 2.11
LCMS2_SITE = http://downloads.sourceforge.net/project/lcms/lcms/$(LCMS2_VERSION)
LCMS2_LICENSE = MIT
LCMS2_LICENSE_FILES = COPYING
LCMS2_CPE_ID_VENDOR = littlecms
LCMS2_CPE_ID_NAME = little_cms
LCMS2_INSTALL_STAGING = YES
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))
$(eval $(host-autotools-package))