Name snappy
Description
Version
Package Base
Homepage
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/snappy/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/snappy/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/snappy/plain/debian/patches/add_option_to_enable_rtti.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/snappy/plain/debian/patches/build_static_lib.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/snappy/plain/debian/patches/correct_testing_link.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/snappy/plain/debian/patches/fix_snappy_unittest_FTBFS.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/snappy/plain/debian/patches/readd_pkgconfig_support.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/snappy/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/snappy/plain/debian/patches/use_packaged_testing.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/snappy/plain/debian/watch?h=ubuntu/noble']
Dependencies []
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'cmake', 'pkgconf', 'libgtest-dev', 'libgmock-dev', 'libbenchmark-dev']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash
#!/usr/bin/make -f
# -*- makefile -*-

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

DEVPKGDIR:=$(CURDIR)/debian/libsnappy-dev

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_CXX_STANDARD=14 \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_LIBDIR=/usr/lib/${DEB_HOST_MULTIARCH} -DBUILD_SHARED_LIBS=ON \
		-DSNAPPY_ENABLE_RTTI=ON \
		-DSNAPPY_USE_BUNDLED_GTEST=OFF \
		-DSNAPPY_USE_BUNDLED_BENCHMARK_LIB=OFF

override_dh_install:
	dh_install
	ln -s /usr/lib/${DEB_HOST_MULTIARCH}/libsnappy.a \
		$(DEVPKGDIR)/usr/lib/${DEB_HOST_MULTIARCH}/libsnappy-shared.a

%:
	dh $@ --buildsystem=cmake --builddir=build/

.PHONY: override_dh_auto_configure override_dh_install