7528c47523
Our package infrastructure uses inheritance of a number of values from the target package to the host package, which assumes the target package is defined before the host package. In addition, future changes are going to make this requirement even more important. Therefore, let's fix the android-tools, gauche, lcms2, linux-syscall-support and pngquant packages, so that they declare their target variant before their host variant, like all other packages in Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
36 lines
817 B
Makefile
36 lines
817 B
Makefile
################################################################################
|
|
#
|
|
# lcms2
|
|
#
|
|
################################################################################
|
|
|
|
LCMS2_VERSION = 2.8
|
|
LCMS2_SITE = http://downloads.sourceforge.net/project/lcms/lcms/$(LCMS2_VERSION)
|
|
LCMS2_LICENSE = MIT
|
|
LCMS2_LICENSE_FILES = COPYING
|
|
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))
|