From 8f9cc69345037843944201ab86fc016e5f1a4330 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 28 Jan 2014 10:32:17 +0100 Subject: [PATCH] perl-XML-Parser: cross build support. --- srcpkgs/perl-XML-Parser/template | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/srcpkgs/perl-XML-Parser/template b/srcpkgs/perl-XML-Parser/template index 87e0a1df431..584e324e7ec 100644 --- a/srcpkgs/perl-XML-Parser/template +++ b/srcpkgs/perl-XML-Parser/template @@ -1,19 +1,15 @@ # Template build file for 'perl-XML-Parser'. pkgname=perl-XML-Parser version=2.41 -revision=2 -wrksrc="XML-Parser-$version" -homepage="http://search.cpan.org/dist/XML-Parser/" -distfiles="${CPAN_SITE}/XML/XML-Parser-$version.tar.gz" +revision=3 +wrksrc="${pkgname/perl-/}-${version}" build_style=perl-module -hostmakedepends="perl>=5.18" -makedepends="${hostmakedepends} expat-devel" -depends="${hostmakedepends}" +hostmakedepends="perl>=5.18 expat-devel" +makedepends="${hostmakedepends}" +depends="perl>=5.18" short_desc="Perl extension interface to James Clark's XML parser, expat" maintainer="Juan RP " license="GPL-2" +homepage="http://search.cpan.org/dist/${pkgname/perl-/}/" +distfiles="${CPAN_SITE}/XML/${pkgname/perl-/}-${version}.tar.gz" checksum=b48197cd2265a26c5f016489f11a7b450d8833cb8b3d6a46ee15975740894de9 -long_desc=" - This module provides ways to parse XML documents. It is built on top of - XML::Parser::Expat, which is a lower level interface to James Clark's - expat library."