Name libpng16-16t64
Description PNG library - runtime (version 1.6)
Version 1.6.43-5build1
Package Base libpng1.6
Homepage http://libpng.org/pub/png/libpng.html
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Gianfranco Costamagna <locutusofborg@debian.org>', 'Nobuhiro Iwamatsu <iwamatsu@debian.org>', 'Tobias Frost <tobi@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/libpng1.6/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/libpng1.6/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libpng1.6/plain/debian/patches/libpng-1.6.39-apng.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libpng1.6/plain/debian/patches/libpng-config.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libpng1.6/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libpng16-16t64/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6', 'zlib1g']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'dpkg-dev', 'zlib1g-dev', 'mawk']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 128d505038cc19dfc218658562ca5917ec242b79e6e2bbfb65ee27f297a53924
#!/usr/bin/make -f
# -*- makefile -*-

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

export DEB_BUILD_MAINT_OPTIONS   := hardening=+all
export DEB_CFLAGS_MAINT_APPEND   := $(shell dpkg-buildflags --get CPPFLAGS)
export DEB_CXXFLAGS_MAINT_APPEND := $(shell dpkg-buildflags --get CPPFLAGS)
CC?=gcc

%:
	dh $@

include /usr/share/dpkg/architecture.mk

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	dh_auto_test
ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
	$(CC) $(CFLAGS) $(CPPFLAGS) -Wall -g -O2 -c -o pngtest.o pngtest.c
	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o pngtest-static -Wall -g -O2  pngtest.o .libs/libpng16.a -lz -lm
	./pngtest-static
endif
endif

override_dh_makeshlibs:
	dh_makeshlibs --add-udeb=libpng16-16-udeb -a