Name libtiff6
Description Tag Image File Format (TIFF) library
Version 4.7.0-3+deb13u1
Package Base tiff
Homepage https://libtiff.gitlab.io/libtiff/
Maintainers ['Laszlo Boszormenyi (GCS) <gcs@debian.org>']
Contributors []
Distro-repo https://sources.debian.org/src/tiff/4.7.0-3+deb13u1/
Sources ['https://sources.debian.org/data/main/t/tiff/4.7.0-3+deb13u1/debian/watch', 'https://sources.debian.org/src/tiff/4.7.0-3+deb13u1/debian/patches/CVE-2024-13978.patch', 'https://sources.debian.org/src/tiff/4.7.0-3+deb13u1/debian/patches/CVE-2025-8961.patch', 'https://sources.debian.org/src/tiff/4.7.0-3+deb13u1/debian/patches/CVE-2025-9165.patch', 'https://sources.debian.org/src/tiff/4.7.0-3+deb13u1/debian/patches/CVE-2025-9900.patch', 'https://sources.debian.org/src/tiff/4.7.0-3+deb13u1/debian/patches/fix-test_directory.patch', 'https://sources.debian.org/src/tiff/4.7.0-3+deb13u1/debian/patches/series']
Dependencies ['libc6', 'libdeflate0', 'libjbig0', 'libjpeg62-turbo', 'liblerc4', 'liblzma5', 'libwebp7', 'libzstd1', 'zlib1g']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'freeglut3-dev', 'libglu1-mesa-dev', 'libjbig-dev', 'libjpeg-dev', 'liblzma-dev', 'libzstd-dev', 'libwebp-dev', 'libxi-dev', 'zlib1g-dev', 'libdeflate-dev', 'liblerc-dev [!s390x !hppa !powerpc !ppc64 !sparc64]', 'sphinx <!nodoc>']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash ef77e41667bbadd3540130cc1d6fba44aab1af89b46716908c9830717770ece5
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# Enable all hardening options.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic -D_REENTRANT
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

# Variables used by cdbs
DEB_COMPRESS_EXCLUDE = html

override_dh_auto_configure:
	cp $(CURDIR)/debian/custom_dir_EXIF_GPS.tiff \
		$(CURDIR)/test/images/
	dh_auto_configure -- \
	  --with-docdir="\$${prefix}/share/doc/libtiff-doc" \
	  --libdir="\$${prefix}/lib/$(DEB_HOST_MULTIARCH)" \
	  --includedir="\$${prefix}/include/$(DEB_HOST_MULTIARCH)" \
	  --enable-ld-version-script \
	  --enable-docs

override_dh_auto_test:
	dh_auto_test --max-parallel=1

override_dh_install:
	dh_install -X.la
	# tiffgt is in libtiff-opengl so libtiff-tools doesn't have to have
	# all the X and opengl dependencies.
	$(RM) debian/libtiff-tools/usr/bin/tiffgt
	$(RM) debian/libtiff-tools/usr/share/man/man1/tiffgt.1*

override_dh_missing:
	dh_missing --list-missing

%:
	dh $@ --with autoreconf

.PHONY: override_dh_auto_configure override_dh_auto_test \
	override_dh_install override_dh_missing