From 59a0889d82afa64e5bf2c9a28ecabb3c9f81777e Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Wed, 17 Oct 2007 08:01:12 +0000 Subject: Make minor tweak to the MODULE_AUTHOR section, for some authors that subdivided their CPAN space. --- eclass/perl-module.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass/perl-module.eclass') diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index c54e964e19cf..4a6eaa2777fb 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.109 2007/10/17 07:49:15 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.110 2007/10/17 08:01:12 robbat2 Exp $ # # Author: Seemant Kulleen # Maintained by the Perl herd @@ -89,7 +89,7 @@ EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm src_com # and it will set your HOMEPAGE and SRC_URI correctly for a CPAN package. if [ -z "${HOMEPAGE}" -a -z "${SRC_URI}" -a -n "${MODULE_AUTHOR}" ]; then - HOMEPAGE="http://search.cpan.org/~${MODULE_AUTHOR}/" + HOMEPAGE="http://search.cpan.org/~${MODULE_AUTHOR//\/*}/" SRC_URI="mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${P}.tar.gz" fi -- cgit v1.2.3-65-gdbad