Name libwebp7
Description Lossy compression of digital photographic images (shared library)
Version 1.5.0-0.1
Package Base libwebp
Homepage https://developers.google.com/speed/webp/
Maintainers ['Jeff Breidenbach <jab@debian.org>']
Contributors []
Distro-repo https://salsa.debian.org/debian/libwebp
Sources ['https://sources.debian.org/data/main/libw/libwebp/1.5.0-0.1/debian/watch', 'https://sources.debian.org/src/libwebp/1.5.0-0.1/debian/patches/0001-CMakeLists.txt-Install-CMake-Config-to-arch-dep-loca.patch', 'https://sources.debian.org/src/libwebp/1.5.0-0.1/debian/patches/install-additional-tools.patch', 'https://sources.debian.org/src/libwebp/1.5.0-0.1/debian/patches/series']
Dependencies ['libc6', 'libsharpyuv0']
Optional-Dependencies []
Build-Dependencies ['cmake', 'debhelper-compat', 'libgif-dev', 'libglut-dev', 'libjpeg-dev', 'libpng-dev', 'libtiff-dev <!pkg.libwebp.notiff>', 'pkgconf']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash c749744b04abdd1426b0c7718e516362c03a557c5151662092d6d4f2cef6e7c1
#!/usr/bin/make -f
# -*- makefile -*-

include /usr/share/dpkg/architecture.mk

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

%:
	dh $@ --buildsystem=cmake

execute_after_dh_auto_clean:
	rm -rf debian/tmp-static static

override_dh_auto_configure:
	dh_auto_configure                         -- -DCMAKE_INSTALL_RPATH="" -DBUILD_SHARED_LIBS=YES
	dh_auto_configure --builddirectory=static -- -DCMAKE_INSTALL_RPATH="" -DBUILD_SHARED_LIBS=NO

override_dh_auto_build:
	dh_auto_build
	dh_auto_build --builddirectory=static

override_dh_auto_install:
	dh_auto_install
	dh_auto_install --builddirectory=static --destdir=debian/tmp-static
	cp debian/tmp-static/usr/lib/${DEB_HOST_MULTIARCH}/*.a debian/tmp/usr/lib/${DEB_HOST_MULTIARCH}/