2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-01-11 08:27:37 +01:00
|
|
|
#
|
|
|
|
# tiff
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-09-25 04:49:02 +02:00
|
|
|
|
2016-11-21 11:13:50 +01:00
|
|
|
TIFF_VERSION = 4.0.7
|
2012-09-25 04:49:02 +02:00
|
|
|
TIFF_SITE = http://download.osgeo.org/libtiff
|
2013-06-03 18:03:30 +02:00
|
|
|
TIFF_LICENSE = tiff license
|
|
|
|
TIFF_LICENSE_FILES = COPYRIGHT
|
2008-11-11 12:43:27 +01:00
|
|
|
TIFF_INSTALL_STAGING = YES
|
2014-09-27 21:32:44 +02:00
|
|
|
TIFF_CONF_OPTS = \
|
2008-11-11 12:43:27 +01:00
|
|
|
--disable-cxx \
|
|
|
|
--without-x \
|
|
|
|
|
2012-10-22 17:47:52 +02:00
|
|
|
TIFF_DEPENDENCIES = host-pkgconf
|
2012-01-12 04:12:01 +01:00
|
|
|
|
2016-04-06 01:31:23 +02:00
|
|
|
HOST_TIFF_CONF_OPTS = \
|
|
|
|
--disable-cxx \
|
|
|
|
--without-x \
|
|
|
|
--disable-zlib \
|
|
|
|
--disable-lzma \
|
|
|
|
--disable-jpeg
|
|
|
|
HOST_TIFF_DEPENDENCIES = host-pkgconf
|
|
|
|
|
2012-01-12 04:12:01 +01:00
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_CCITT),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_CONF_OPTS += --disable-ccitt
|
2012-01-12 04:12:01 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_PACKBITS),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_CONF_OPTS += --disable-packbits
|
2012-01-12 04:12:01 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_LZW),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_CONF_OPTS += --disable-lzw
|
2012-01-12 04:12:01 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_THUNDER),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_CONF_OPTS += --disable-thunder
|
2012-01-12 04:12:01 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_NEXT),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_CONF_OPTS += --disable-next
|
2012-01-12 04:12:01 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_LOGLUV),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_CONF_OPTS += --disable-logluv
|
2012-01-12 04:12:01 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_MDI),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_CONF_OPTS += --disable-mdi
|
2012-01-12 04:12:01 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_ZLIB),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_CONF_OPTS += --disable-zlib
|
2012-01-12 04:12:01 +01:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_DEPENDENCIES += zlib
|
2012-01-12 04:12:01 +01:00
|
|
|
endif
|
|
|
|
|
2016-02-10 21:59:10 +01:00
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_XZ),y)
|
|
|
|
TIFF_CONF_OPTS += --disable-lzma
|
|
|
|
else
|
|
|
|
TIFF_DEPENDENCIES += xz
|
|
|
|
endif
|
|
|
|
|
2012-01-12 04:12:01 +01:00
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_PIXARLOG),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_CONF_OPTS += --disable-pixarlog
|
2012-01-12 04:12:01 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_JPEG),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_CONF_OPTS += --disable-jpeg
|
2012-01-12 04:12:01 +01:00
|
|
|
else
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_DEPENDENCIES += jpeg
|
2012-01-12 04:12:01 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_OLD_JPEG),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_CONF_OPTS += --disable-old-jpeg
|
2012-01-12 04:12:01 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_JBIG),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
TIFF_CONF_OPTS += --disable-jbig
|
2012-01-12 04:12:01 +01:00
|
|
|
endif
|
2008-11-11 12:43:27 +01:00
|
|
|
|
2015-04-23 23:18:16 +02:00
|
|
|
TIFF_SUBDIRS = port libtiff
|
|
|
|
ifeq ($(BR2_PACKAGE_TIFF_UTILITIES),y)
|
|
|
|
TIFF_SUBDIRS += tools
|
|
|
|
endif
|
2007-01-11 08:27:37 +01:00
|
|
|
|
2015-04-23 23:18:16 +02:00
|
|
|
TIFF_MAKE = $(MAKE) SUBDIRS="$(TIFF_SUBDIRS)"
|
2014-09-26 04:09:20 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|
2016-04-06 01:31:23 +02:00
|
|
|
$(eval $(host-autotools-package))
|