| 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.28 2002/10/17 16:18:32 mcummings Exp $ |
4 | # $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.29 2002/10/20 06:45:12 seemant 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="${DEPEND} |
| 18 | >=sys-devel/perl-5" |
18 | sys-devel/perl" |
| 19 | SRC_PREP="no" |
19 | SRC_PREP="no" |
| 20 | |
20 | |
| 21 | perl-module_src_prep() { |
21 | perl-module_src_prep() { |
| 22 | |
22 | |
| 23 | SRC_PREP="yes" |
23 | SRC_PREP="yes" |