diff --git a/shutils/tmpl_vars.sh b/shutils/tmpl_vars.sh index 978ae03deb..3c51751a9a 100644 --- a/shutils/tmpl_vars.sh +++ b/shutils/tmpl_vars.sh @@ -9,3 +9,4 @@ XORG_SITE="http://xorg.freedesktop.org/releases/individual" DEBIAN_SITE="http://ftp.debian.org/debian/pool" GNOME_SITE="http://ftp.gnome.org/pub/GNOME/sources" KERNEL_SITE="http://www.kernel.org/pub/linux" +CPAN_SITE="http://cpan.perl.org/modules/by-module" diff --git a/templates/perl-XML-Parser/template b/templates/perl-XML-Parser/template index f87769b42d..f7514f23cc 100644 --- a/templates/perl-XML-Parser/template +++ b/templates/perl-XML-Parser/template @@ -2,8 +2,7 @@ pkgname=perl-XML-Parser version=2.36 wrksrc="XML-Parser-$version" -distfiles=" -http://cpan.perl.org/modules/by-module/XML/XML-Parser-$version.tar.gz" +distfiles="${CPAN_SITE}/XML/XML-Parser-$version.tar.gz" build_style=perl_module short_desc="Perl extension interface to James Clark's XML parser, expat" maintainer="Juan RP "