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
|
|
|
|
2015-10-02 18:46:28 +02:00
|
|
|
TIFF_VERSION = 4.0.6
|
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
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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))
|