23 lines
823 B
Bash
23 lines
823 B
Bash
# Template file for 'perl-XML-LibXML'
|
|
pkgname=perl-XML-LibXML
|
|
version=2.0132
|
|
revision=6
|
|
wrksrc="${pkgname/perl-/}-${version}"
|
|
build_style=perl-module
|
|
hostmakedepends="perl"
|
|
makedepends="${hostmakedepends} libxml2-devel perl-XML-SAX perl-XML-NamespaceSupport"
|
|
depends="perl>=5.20 perl-XML-SAX perl-XML-NamespaceSupport"
|
|
short_desc="Perl extension interface to libxml2"
|
|
maintainer="Martijn van Buul <martijn.van.buul@gmail.com>"
|
|
license="Artistic-1.0-Perl, GPL-1.0-or-later"
|
|
homepage="https://metacpan.org/release/XML-LibXML"
|
|
distfiles="${CPAN_SITE}/XML/${pkgname/perl-/}-${version}.tar.gz"
|
|
checksum=721452e3103ca188f5968ab06d5ba29fe8e00e49f4767790882095050312d476
|
|
|
|
pre_configure() {
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
# Disable link and execute check for libxml2
|
|
sed -i Makefile.PL -e"s;_libxml_check_lib('xml2');1;"
|
|
fi
|
|
}
|