Name libxml-libxml-perl
Description Perl interface to the libxml2 library
Version 2.0207+dfsg+really+2.0134-1build4
Package Base
Homepage https://metacpan.org/release/XML-LibXML
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Nick Morrott <knowledgejunkie@gmail.com>', 'gregor herrmann <gregoa@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/libxml-libxml-perl/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/libxml-libxml-perl/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libxml-libxml-perl/plain/debian/patches/disable_runtime-version_warning.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libxml-libxml-perl/plain/debian/patches/fail-build-no-libxml2.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libxml-libxml-perl/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libxml-libxml-perl/plain/debian/patches/test_against_runtime-version.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libxml-libxml-perl/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libc6', 'libxml-namespacesupport-perl', 'libxml-sax-perl', 'libxml2', 'perl', 'perlapi-5.38.2']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'libdevel-checklib-perl', 'libxml-namespacesupport-perl <!nocheck>', 'libxml-sax-perl <!nocheck>', 'libxml2-dev', 'perl-xs-dev', 'perl', 'pkg-config', 'zlib1g-dev']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 9fb537ee60e15fd709b3315fcf963ce501d11894938e0e732108a410042bbba6
#!/usr/bin/make -f

include /usr/share/dpkg/buildtools.mk

# skip tests that need files we remove in the +dfsg version
SKIP_TESTS = $(shell cat debian/tests/pkg-perl/smoke-skip)
TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))

XML_LIBS := $(shell $(PKG_CONFIG) --libs   libxml-2.0)
XML_INC  := $(shell $(PKG_CONFIG) --cflags libxml-2.0)

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

# we want to use the system version of included modules, so
# we move the inc away and move it back afterwards
override_dh_auto_clean:
	dh_auto_clean
	[ ! -d $(CURDIR)/inc.save ] || mv $(CURDIR)/inc.save $(CURDIR)/inc

override_dh_auto_configure:
	[ ! -d $(CURDIR)/inc ] || mv $(CURDIR)/inc $(CURDIR)/inc.save
	SKIP_SAX_INSTALL=1 dh_auto_configure -- LIBS="$(XML_LIBS)" INC="$(XML_INC)"

override_dh_auto_test:
	dh_auto_test -- TEST_FILES="$(TEST_FILES)"