/[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.23 Revision 1.24
1# Copyright 2002 Gentoo Technologies, Inc. 1# Copyright 2002 Gentoo Technologies, Inc.
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# Author: Seemant Kulleen <seemant@gentoo.org> 3# Author: Seemant Kulleen <seemant@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.23 2002/09/15 13:18:23 mcummings Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.24 2002/09/17 00:54:55 mcummings Exp $
5# The perl-module eclass is designed to allow easier installation of perl 5# The perl-module eclass is designed to allow easier installation of perl
6# modules, and their incorporation into the Gentoo Linux system. 6# modules, and their incorporation into the Gentoo Linux system.
7 7
8#first inherit the pkg_postinst() and pkg_postrm() functions 8#first inherit the pkg_postinst() and pkg_postrm() functions
9inherit perl-post 9inherit perl-post
11ECLASS=perl-module 11ECLASS=perl-module
12INHERITED="$INHERITED $ECLASS" 12INHERITED="$INHERITED $ECLASS"
13 13
14EXPORT_FUNCTIONS src_compile src_install src_test 14EXPORT_FUNCTIONS src_compile src_install src_test
15 15
16eval `perl '-V:version'`
17 if [ ${version} == '5.6.1' ];
18 then
19 DEPEND="${DEPEND} >=sys-devel/perl-5 \ 16DEPEND="${DEPEND} >=sys-devel/perl-5
20 =dev-perl/ExtUtils-MakeMaker-6.03-r1" 17 =dev-perl/ExtUtils-MakeMaker-6.03-r1"
21 else
22 DEPEND="${DEPEND} >=sys-devel/perl-5"
23 fi
24
25 18
26SRC_PREP="no" 19SRC_PREP="no"
27 20
28perl-module_src_prep() { 21perl-module_src_prep() {
29 22

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.20