| 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.31 2002/11/04 01:41:13 mcummings Exp $ |
4 | # $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.32 2002/11/04 01:48:59 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 |
| … | |
… | |
| 12 | INHERITED="$INHERITED $ECLASS" |
12 | INHERITED="$INHERITED $ECLASS" |
| 13 | |
13 | |
| 14 | EXPORT_FUNCTIONS src_compile src_install src_test |
14 | EXPORT_FUNCTIONS src_compile src_install src_test |
| 15 | |
15 | |
| 16 | eval `perl '-V:version'` |
16 | eval `perl '-V:version'` |
| 17 | DEPEND="${DEPEND} |
17 | DEPEND="sys-devel/perl |
| 18 | sys-devel/perl" |
18 | >=dev-perl/ExtUtils-MakeMaker-6.05-r1 |
|
|
19 | ${DEPEND}" |
| 19 | SRC_PREP="no" |
20 | SRC_PREP="no" |
| 20 | |
21 | |
| 21 | perl-module_src_prep() { |
22 | perl-module_src_prep() { |
| 22 | |
23 | |
| 23 | SRC_PREP="yes" |
24 | SRC_PREP="yes" |