summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-10-17 08:01:12 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-10-17 08:01:12 +0000
commit88bb5a37ad14918046613a5b1420f18a11f25f6a (patch)
tree993359ecb53c1db0649a3375ad6ebbb6de1a0192 /eclass/perl-module.eclass
parentadapt texlive mask (diff)
downloadhistorical-88bb5a37ad14918046613a5b1420f18a11f25f6a.tar.gz
historical-88bb5a37ad14918046613a5b1420f18a11f25f6a.tar.bz2
historical-88bb5a37ad14918046613a5b1420f18a11f25f6a.zip
Make minor tweak to the MODULE_AUTHOR section, for some authors that subdivided their CPAN space.
Diffstat (limited to 'eclass/perl-module.eclass')
-rw-r--r--eclass/perl-module.eclass4
1 files changed, 2 insertions, 2 deletions
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 <seemant@gentoo.org>
# Maintained by the Perl herd <perl@gentoo.org>
@@ -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