/[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.132 Revision 1.134
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2012 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.132 2012/04/15 20:15:39 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.134 2012/09/15 16:16:53 zmedico 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 15inherit eutils base multiprocessing
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
47 ;; 47 ;;
48 *) 48 *)
49 die "PERL_EXPORT_PHASE_FUNCTIONS=${PERL_EXPORT_PHASE_FUNCTIONS} is not supported by perl-module.eclass" 49 die "PERL_EXPORT_PHASE_FUNCTIONS=${PERL_EXPORT_PHASE_FUNCTIONS} is not supported by perl-module.eclass"
50 ;; 50 ;;
51esac 51esac
52
53DESCRIPTION="Based on the $ECLASS eclass"
54 52
55LICENSE="${LICENSE:-|| ( Artistic GPL-1 GPL-2 GPL-3 )}" 53LICENSE="${LICENSE:-|| ( Artistic GPL-1 GPL-2 GPL-3 )}"
56 54
57if [[ -n ${MY_PN} || -n ${MY_PV} || -n ${MODULE_VERSION} ]] ; then 55if [[ -n ${MY_PN} || -n ${MY_PV} || -n ${MODULE_VERSION} ]] ; then
58 : ${MY_P:=${MY_PN:-${PN}}-${MY_PV:-${MODULE_VERSION:-${PV}}}} 56 : ${MY_P:=${MY_PN:-${PN}}-${MY_PV:-${MODULE_VERSION:-${PV}}}}

Legend:
Removed from v.1.132  
changed lines
  Added in v.1.134

  ViewVC Help
Powered by ViewVC 1.1.20