/[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.138 Revision 1.139
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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.138 2013/12/29 21:37:09 dilfridge Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.139 2014/03/30 19:25:14 zlogene Exp $
4 4
5# @ECLASS: perl-module.eclass 5# @ECLASS: perl-module.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# perl@gentoo.org 7# perl@gentoo.org
8# @AUTHOR: 8# @AUTHOR:
10# @BLURB: eclass for perl modules 10# @BLURB: eclass for perl modules
11# @DESCRIPTION: 11# @DESCRIPTION:
12# The perl-module eclass is designed to allow easier installation of perl 12# The perl-module eclass is designed to allow easier installation of perl
13# modules, and their incorporation into the Gentoo Linux system. 13# modules, and their incorporation into the Gentoo Linux system.
14 14
15inherit eutils base multiprocessing 15inherit eutils multiprocessing unpacker
16[[ ${CATEGORY} == "perl-core" ]] && inherit alternatives 16[[ ${CATEGORY} == "perl-core" ]] && inherit alternatives
17 17
18PERL_EXPF="src_unpack src_compile src_test src_install" 18PERL_EXPF="src_unpack src_compile src_test src_install"
19 19
20case "${EAPI:-0}" in 20case "${EAPI:-0}" in
85pm_echovar="" 85pm_echovar=""
86perlinfo_done=false 86perlinfo_done=false
87 87
88perl-module_src_unpack() { 88perl-module_src_unpack() {
89 debug-print-function $FUNCNAME "$@" 89 debug-print-function $FUNCNAME "$@"
90 base_src_unpack 90 unpacker_src_unpack
91 has src_prepare ${PERL_EXPF} || perl-module_src_prepare 91 has src_prepare ${PERL_EXPF} || perl-module_src_prepare
92} 92}
93 93
94perl-module_src_prepare() { 94perl-module_src_prepare() {
95 debug-print-function $FUNCNAME "$@" 95 debug-print-function $FUNCNAME "$@"
96 has src_prepare ${PERL_EXPF} && base_src_prepare 96 has src_prepare ${PERL_EXPF} && \
97 [[ ${PATCHES[@]} ]] && epatch "${PATCHES[@]}"
98 debug-print "$FUNCNAME: applying user patches"
99 epatch_user
97 perl_fix_osx_extra 100 perl_fix_osx_extra
98 esvn_clean 101 esvn_clean
99} 102}
100 103
101perl-module_src_configure() { 104perl-module_src_configure() {

Legend:
Removed from v.1.138  
changed lines
  Added in v.1.139

  ViewVC Help
Powered by ViewVC 1.1.20