| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 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.70 2005/05/17 14:36:13 mcummings Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.73 2005/07/06 20:20:04 agriffis Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Seemant Kulleen <seemant@gentoo.org> |
5 | # Author: Seemant Kulleen <seemant@gentoo.org> |
| 6 | # Maintained by the Perl herd <perl@gentoo.org> |
6 | # Maintained by the Perl herd <perl@gentoo.org> |
| 7 | # |
7 | # |
| 8 | # The perl-module eclass is designed to allow easier installation of perl |
8 | # The perl-module eclass is designed to allow easier installation of perl |
| 9 | # modules, and their incorporation into the Gentoo Linux system. |
9 | # modules, and their incorporation into the Gentoo Linux system. |
| 10 | |
10 | |
| 11 | ECLASS=perl-module |
|
|
| 12 | INHERITED="${INHERITED} ${ECLASS}" |
11 | INHERITED="${INHERITED} ${ECLASS}" |
| 13 | |
12 | |
| 14 | EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm \ |
13 | EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm \ |
| 15 | src_compile src_install src_test \ |
14 | src_compile src_install src_test |
| 16 | perlinfo updatepod |
|
|
| 17 | |
15 | |
| 18 | # 2005.04.28 mcummings |
16 | # 2005.04.28 mcummings |
| 19 | # Mounting problems with src_test functions has forced me to make the |
17 | # Mounting problems with src_test functions has forced me to make the |
| 20 | # compilation of perl modules honor the FEATURES maketest flag rather than what |
18 | # compilation of perl modules honor the FEATURES maketest flag rather than what |
| 21 | # is generally necessary. I've left a block to make sure we still need to set |
19 | # is generally necessary. I've left a block to make sure we still need to set |
| … | |
… | |
| 58 | # the style directive any more (especially since it isn't in the eclass |
56 | # the style directive any more (especially since it isn't in the eclass |
| 59 | # anymore). Enjoy! |
57 | # anymore). Enjoy! |
| 60 | |
58 | |
| 61 | |
59 | |
| 62 | |
60 | |
| 63 | DEPEND=">=dev-lang/perl-5.8.2 !<dev-perl/ExtUtils-MakeMaker-6.17" |
61 | DEPEND=">=dev-lang/perl-5.8.2 !<perl-core/ExtUtils-MakeMaker-6.17" |
| 64 | SRC_PREP="no" |
62 | SRC_PREP="no" |
| 65 | SRC_TEST="skip" |
63 | SRC_TEST="skip" |
| 66 | |
64 | |
| 67 | PERL_VERSION="" |
65 | PERL_VERSION="" |
| 68 | SITE_ARCH="" |
66 | SITE_ARCH="" |