1################################################################################ 2# 3# tiff 4# 5################################################################################ 6 7TIFF_VERSION = 4.3.0 8TIFF_SITE = http://download.osgeo.org/libtiff 9TIFF_LICENSE = tiff license 10TIFF_LICENSE_FILES = COPYRIGHT 11TIFF_CPE_ID_VENDOR = libtiff 12TIFF_CPE_ID_PRODUCT = libtiff 13TIFF_INSTALL_STAGING = YES 14TIFF_CONF_OPTS = \ 15 --disable-cxx \ 16 --without-x 17 18TIFF_DEPENDENCIES = host-pkgconf 19 20HOST_TIFF_CONF_OPTS = \ 21 --disable-cxx \ 22 --without-x \ 23 --disable-zlib \ 24 --disable-lzma \ 25 --disable-jpeg 26HOST_TIFF_DEPENDENCIES = host-pkgconf 27 28ifneq ($(BR2_PACKAGE_TIFF_CCITT),y) 29TIFF_CONF_OPTS += --disable-ccitt 30endif 31 32ifneq ($(BR2_PACKAGE_TIFF_PACKBITS),y) 33TIFF_CONF_OPTS += --disable-packbits 34endif 35 36ifneq ($(BR2_PACKAGE_TIFF_LZW),y) 37TIFF_CONF_OPTS += --disable-lzw 38endif 39 40ifneq ($(BR2_PACKAGE_TIFF_THUNDER),y) 41TIFF_CONF_OPTS += --disable-thunder 42endif 43 44ifneq ($(BR2_PACKAGE_TIFF_NEXT),y) 45TIFF_CONF_OPTS += --disable-next 46endif 47 48ifneq ($(BR2_PACKAGE_TIFF_LOGLUV),y) 49TIFF_CONF_OPTS += --disable-logluv 50endif 51 52ifneq ($(BR2_PACKAGE_TIFF_MDI),y) 53TIFF_CONF_OPTS += --disable-mdi 54endif 55 56ifneq ($(BR2_PACKAGE_TIFF_ZLIB),y) 57TIFF_CONF_OPTS += --disable-zlib 58else 59TIFF_DEPENDENCIES += zlib 60endif 61 62ifneq ($(BR2_PACKAGE_TIFF_XZ),y) 63TIFF_CONF_OPTS += --disable-lzma 64else 65TIFF_DEPENDENCIES += xz 66endif 67 68ifneq ($(BR2_PACKAGE_TIFF_PIXARLOG),y) 69TIFF_CONF_OPTS += --disable-pixarlog 70endif 71 72ifneq ($(BR2_PACKAGE_TIFF_JPEG),y) 73TIFF_CONF_OPTS += --disable-jpeg 74else 75TIFF_DEPENDENCIES += jpeg 76endif 77 78ifneq ($(BR2_PACKAGE_TIFF_OLD_JPEG),y) 79TIFF_CONF_OPTS += --disable-old-jpeg 80endif 81 82ifneq ($(BR2_PACKAGE_TIFF_JBIG),y) 83TIFF_CONF_OPTS += --disable-jbig 84endif 85 86TIFF_SUBDIRS = port libtiff 87ifeq ($(BR2_PACKAGE_TIFF_UTILITIES),y) 88TIFF_SUBDIRS += tools 89endif 90 91TIFF_MAKE = $(MAKE) SUBDIRS="$(TIFF_SUBDIRS)" 92 93$(eval $(autotools-package)) 94$(eval $(host-autotools-package)) 95