Name liblz4-1
Description Fast LZ compression algorithm library - runtime
Version 1.9.4-1build1.1
Package Base lz4
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/liblz4-1/plain/debian/watch?h=ubuntu/noble', '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']
Dependencies ['libc6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'python3']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 319331270d5cc52d5ebffe51c941d7b01b432bc402c2924b557209a64d4ecbad
#!/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