/[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.16 Revision 1.17
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.16 2002/07/29 17:34:12 seemant Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.17 2002/08/05 20:53:56 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
18SRC_PREP="no" 18SRC_PREP="no"
19 19
20perl-module_src_prep() { 20perl-module_src_prep() {
21 21
22 SRC_PREP="yes" 22 SRC_PREP="yes"
23 perl Makefile.PL ${myconf} 23 perl Makefile.PL ${myconf} \
24 PREFIX=${D}/usr
24} 25}
25 26
26perl-module_src_compile() { 27perl-module_src_compile() {
27 28
28 [ "${SRC_PREP}" != "yes" ] && perl-module_src_prep 29 [ "${SRC_PREP}" != "yes" ] && perl-module_src_prep

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20