/[gentoo-x86]/eclass/perl-module.eclass
Gentoo

Diff of /eclass/perl-module.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.120 Revision 1.122
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.120 2009/11/24 09:16:49 tove Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.122 2010/02/03 00:20:07 hanno Exp $
4# 4#
5# Author: Seemant Kulleen <seemant@gentoo.org> 5# Author: Seemant Kulleen <seemant@gentoo.org>
6 6
7# @ECLASS: perl-module.eclass 7# @ECLASS: perl-module.eclass
8# @MAINTAINER: 8# @MAINTAINER:
37 37
38EXPORT_FUNCTIONS ${PERL_EXPF} 38EXPORT_FUNCTIONS ${PERL_EXPF}
39 39
40DESCRIPTION="Based on the $ECLASS eclass" 40DESCRIPTION="Based on the $ECLASS eclass"
41 41
42LICENSE="${LICENSE:-|| ( Artistic GPL-2 )}" 42LICENSE="${LICENSE:-|| ( Artistic GPL-1 GPL-2 GPL-3 )}"
43 43
44[[ -z "${SRC_URI}" && -z "${MODULE_A}" ]] && MODULE_A="${MY_P:-${P}}.tar.gz" 44[[ -z "${SRC_URI}" && -z "${MODULE_A}" ]] && MODULE_A="${MY_P:-${P}}.tar.gz"
45[[ -z "${SRC_URI}" && -n "${MODULE_AUTHOR}" ]] && \ 45[[ -z "${SRC_URI}" && -n "${MODULE_AUTHOR}" ]] && \
46 SRC_URI="mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MODULE_SECTION}/${MODULE_A}" 46 SRC_URI="mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MODULE_SECTION}/${MODULE_A}"
47[[ -z "${HOMEPAGE}" ]] && \ 47[[ -z "${HOMEPAGE}" ]] && \
60 60
61pm_echovar="" 61pm_echovar=""
62perlinfo_done=false 62perlinfo_done=false
63 63
64perl-module_src_unpack() { 64perl-module_src_unpack() {
65 base_src_unpack unpack 65 base_src_unpack
66 has src_prepare ${PERL_EXPF} || perl-module_src_prepare 66 has src_prepare ${PERL_EXPF} || perl-module_src_prepare
67} 67}
68 68
69perl-module_src_prepare() { 69perl-module_src_prepare() {
70 if [[ -n ${PATCHES} ]] ; then 70 has src_prepare ${PERL_EXPF} && base_src_prepare
71 base_src_unpack autopatch
72 fi
73 esvn_clean 71 esvn_clean
74} 72}
75 73
76perl-module_src_configure() { 74perl-module_src_configure() {
77 perl-module_src_prep 75 perl-module_src_prep

Legend:
Removed from v.1.120  
changed lines
  Added in v.1.122

  ViewVC Help
Powered by ViewVC 1.1.20