Name brotli
Description lossless compression algorithm and format (command line utility)
Version 1.1.0-2
Package Base brotli
Homepage https://github.com/google/brotli
Maintainers ['Tomasz Buchert <tomasz@debian.org>']
Contributors ['Ondřej Surý <ondrej@debian.org>']
Distro-repo https://salsa.debian.org/debian/brotli
Sources ['https://sources.debian.org/data/main/b/brotli/1.1.0-2/debian/watch', 'https://sources.debian.org/src/brotli/1.1.0-2/debian/patches/0001-build-static-libraries-by-default.patch', 'https://sources.debian.org/src/brotli/1.1.0-2/debian/patches/series']
Dependencies ['libbrotli1', 'libc6']
Optional-Dependencies []
Build-Dependencies ['cmake', 'debhelper', 'debhelper-compat', 'dh-python <!nopython>', 'libpython3-all-dev <!nopython>', 'python3-all-dev', 'python3-setuptools <!nopython>', 'python3']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 09445f5af567d5be8a98b8fdcffcd6d6d3962d8c86e5753922f072e7f5d84ac1
#!/usr/bin/make -f
#export DH_VERBOSE = 1

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

export PYBUILD_NAME = brotli

ifeq (,$(filter nopython,$(DEB_BUILD_PROFILES)))
%:
	dh $@ --buildsystem=pybuild --with=python3

override_dh_auto_configure:
	dh_auto_configure
	dh_auto_configure --buildsystem=cmake

override_dh_auto_build:
	dh_auto_build
	dh_auto_build --buildsystem=cmake

override_dh_auto_install:
	dh_auto_install
	dh_auto_install --buildsystem=cmake

override_dh_auto_clean:
	dh_auto_clean
	dh_auto_clean --buildsystem=cmake

override_dh_auto_test:
	dh_auto_test
	dh_auto_test --buildsystem=cmake
else
%:
	dh $@ --buildsystem=cmake
endif

override_dh_missing:
	dh_missing --fail-missing

override_dh_install:
	# drop "-static" part from static libs
	debian/rename-static-libs.sh
	dh_install