Name liblz4-1
Description Fast LZ compression algorithm library - runtime
Version 1.10.0-4
Package Base lz4
Homepage https://github.com/lz4/lz4
Maintainers ['Nobuhiro Iwamatsu <iwamatsu@debian.org>']
Contributors []
Distro-repo https://salsa.debian.org/debian/lz4
Sources ['https://sources.debian.org/data/main/l/lz4/1.10.0-4/debian/watch', 'https://sources.debian.org/src/lz4/1.10.0-4/debian/patches/Create-softlink-for-lz4c.patch', 'https://sources.debian.org/src/lz4/1.10.0-4/debian/patches/series', 'https://sources.debian.org/src/lz4/1.10.0-4/debian/patches/use-system-xxhash.patch']
Dependencies ['libc6', 'libxxhash0']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'python3', 'cmake', 'libxxhash-dev', 'pkgconf']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash c31ec4c7c82755a38b2f3fe066fc0c5518cc91a601a268fbcd19bdacb1f22e1e
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

CPPFLAGS:= $(shell dpkg-buildflags --get CPPFLAGS) -fvisibility=hidden -DLZ4F_PUBLISH_STATIC_FUNCTIONS -DLZ4IO_MULTITHREAD
CFLAGS:= $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
CXXFLAGS:= $(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
LDFLAGS:= $(shell dpkg-buildflags --get LDFLAGS)
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
PREFIX:= /usr

ifeq ($(origin CC),default)
CC := $(DEB_HOST_GNU_TYPE)-gcc
endif

export CFLAGS
export CPPFLAGS
export LDFLAGS
export PREFIX

disable_test=0
ifneq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
disable_test=1
endif

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure --sourcedirectory=build/cmake -- \
		-DBUILD_STATIC_LIBS=ON \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo