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
|
|
|
|
|
|
|
TIFF_VERSION = 4.0.3
|
|
|
|
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
|
|
|
|
TIFF_CONF_OPT = \
|
|
|
|
--disable-cxx \
|
|
|
|
--without-x \
|
|
|
|
|
2012-10-22 17:47:52 +02:00
|
|
|
TIFF_DEPENDENCIES = host-pkgconf
|
2012-01-12 04:12:01 +01:00
|
|
|
|
|
|
|
TIFF_TOOLS_LIST =
|
|
|
|
ifeq ($(BR2_PACKAGE_TIFF_TIFF2PDF),y)
|
|
|
|
TIFF_TOOLS_LIST += tiff2pdf
|
|
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_TIFF_TIFFCP),y)
|
|
|
|
TIFF_TOOLS_LIST += tiffcp
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_CCITT),y)
|
|
|
|
TIFF_CONF_OPT += --disable-ccitt
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_PACKBITS),y)
|
|
|
|
TIFF_CONF_OPT += --disable-packbits
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_LZW),y)
|
|
|
|
TIFF_CONF_OPT += --disable-lzw
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_THUNDER),y)
|
|
|
|
TIFF_CONF_OPT += --disable-thunder
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_NEXT),y)
|
|
|
|
TIFF_CONF_OPT += --disable-next
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_LOGLUV),y)
|
|
|
|
TIFF_CONF_OPT += --disable-logluv
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_MDI),y)
|
|
|
|
TIFF_CONF_OPT += --disable-mdi
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_ZLIB),y)
|
|
|
|
TIFF_CONF_OPT += --disable-zlib
|
|
|
|
else
|
|
|
|
TIFF_DEPENDENCIES += zlib
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_PIXARLOG),y)
|
|
|
|
TIFF_CONF_OPT += --disable-pixarlog
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_JPEG),y)
|
|
|
|
TIFF_CONF_OPT += --disable-jpeg
|
|
|
|
else
|
|
|
|
TIFF_DEPENDENCIES += jpeg
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_OLD_JPEG),y)
|
|
|
|
TIFF_CONF_OPT += --disable-old-jpeg
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(BR2_PACKAGE_TIFF_JBIG),y)
|
|
|
|
TIFF_CONF_OPT += --disable-jbig
|
|
|
|
endif
|
2008-11-11 12:43:27 +01:00
|
|
|
|
2010-09-01 23:10:28 +02:00
|
|
|
define TIFF_INSTALL_TARGET_CMDS
|
|
|
|
-cp -a $(@D)/libtiff/.libs/libtiff.so* $(TARGET_DIR)/usr/lib/
|
2012-01-12 04:12:01 +01:00
|
|
|
for i in $(TIFF_TOOLS_LIST); \
|
|
|
|
do \
|
|
|
|
$(INSTALL) -m 755 -D $(@D)/tools/$$i $(TARGET_DIR)/usr/bin/$$i; \
|
|
|
|
done
|
2010-09-01 23:10:28 +02:00
|
|
|
endef
|
2007-01-11 08:27:37 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|