Name lz4
Description Fast LZ compression algorithm library - tool
Version 1.9.4-1build1.1
Package Base
Homepage https://github.com/lz4/lz4
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/lz4/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/lz4/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/lz4/plain/debian/patches/0001-Fix-static-link.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/lz4/plain/debian/patches/0002-Change-optimize-to-O2.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/lz4/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/lz4/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6', 'liblz4-1']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'python3']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 6322e77aaee1975c5517892a39f63e80b3e2fe65219bf693192a564b1b9fc7aa
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

CPPFLAGS:= $(shell dpkg-buildflags --get CPPFLAGS) -DLZ4F_PUBLISH_STATIC_FUNCTIONS
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 $@

override_dh_auto_build:
	dh_auto_build -- CC=$(CC) V=1

override_dh_auto_install:
	dh_auto_install -- \
		CC=$(CC) \
		DESTDIR=$$(pwd)/debian/tmp \
		LIBDIR=$(DESTDIR)/usr/lib/$(DEB_HOST_MULTIARCH)

override_dh_auto_test:
ifeq "$(disable_test)" "0"
	make test
endif