Name re2
Description
Version
Package Base
Homepage
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/re2/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/re2/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/re2/plain/debian/patches/debian-unicode-data.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/re2/plain/debian/patches/parallel-test-runner.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/re2/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/re2/plain/debian/watch?h=ubuntu/noble']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'python3', 'python3-six', 'unicode-data']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash
#!/usr/bin/make -f

export DEB_CXXFLAGS_MAINT_APPEND=-pthread -Wall -std=c++11
export DEB_LDFLAGS_MAINT_APPEND=-pthread
export CXXFLAGS=$(shell dpkg-buildflags --get CXXFLAGS | sed s/-O2/-O3/)

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
LIB_PKG = libre2-10

%:
	dh $@

override_dh_auto_build:
	rm -f re2/perl_groups.cc re2/unicode_casefold.cc re2/unicode_groups.cc
	dh_auto_build -- REBUILD_TABLES=1

override_dh_auto_install:
	dh_auto_install -- prefix=/usr libdir=/usr/lib/$(DEB_HOST_MULTIARCH)

override_dh_installdocs:
	dh_installdocs --link-doc=$(LIB_PKG)

override_dh_gencontrol:
	dh_gencontrol -- -VBuilt-Using='$(shell dpkg-query -f'$${source:Package} (= $${source:Version})' -W unicode-data)'