| 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.22 2002/09/14 21:32:20 mcummings Exp $ |
4 | # $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.23 2002/09/15 13:18:23 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 |
| 9 | inherit perl-post |
9 | inherit perl-post |
| … | |
… | |
| 15 | |
15 | |
| 16 | eval `perl '-V:version'` |
16 | eval `perl '-V:version'` |
| 17 | if [ ${version} == '5.6.1' ]; |
17 | if [ ${version} == '5.6.1' ]; |
| 18 | then |
18 | then |
| 19 | DEPEND="${DEPEND} >=sys-devel/perl-5 \ |
19 | DEPEND="${DEPEND} >=sys-devel/perl-5 \ |
| 20 | dev-perl/ExtUtils-MakeMaker" |
20 | =dev-perl/ExtUtils-MakeMaker-6.03-r1" |
| 21 | else |
21 | else |
| 22 | DEPEND="${DEPEND} >=sys-devel/perl-5" |
22 | DEPEND="${DEPEND} >=sys-devel/perl-5" |
| 23 | fi |
23 | fi |
| 24 | |
24 | |
| 25 | |
25 | |