Name lz4
Description Fast LZ compression algorithm library - tool
Version 1.10.0-4
Package Base
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', 'liblz4-1', 'libxxhash0']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'python3', 'cmake', 'libxxhash-dev', 'pkgconf']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 46462967f67af3084e2f051b3c7d1e797ac4d7a829b2d9b6259e2fc1f33b5063
#!/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