Add CPAN_SITE for $distfiles and use it.

--HG--
extra : convert_revision : f3ef87a4459e089daaf78741a4cb0fb1bcbfd6bd
This commit is contained in:
Juan RP 2009-04-20 02:14:07 +02:00
parent 06c65172dc
commit cae481869d
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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 <xtraeme@gmail.com>"