23 lines
803 B
Bash
23 lines
803 B
Bash
# Template file for 'perl-XML-LibXML'
|
|
pkgname=perl-XML-LibXML
|
|
version=2.0132
|
|
revision=3
|
|
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, GPL-1"
|
|
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
|
|
}
|