/[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.79 Revision 1.80
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.79 2005/07/24 13:14:53 mcummings Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.80 2005/11/27 22:22:22 mcummings 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 11
12EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm \ 12EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm pkg_postrm \
13 src_compile src_install src_test 13 src_compile src_install src_test perlinfo fixlocalpod updatepod
14 14
15# 2005.04.28 mcummings 15# 2005.04.28 mcummings
16# Mounting problems with src_test functions has forced me to make the 16# Mounting problems with src_test functions has forced me to make the
17# compilation of perl modules honor the FEATURES maketest flag rather than what 17# compilation of perl modules honor the FEATURES maketest flag rather than what
18# is generally necessary. I've left a block to make sure we still need to set 18# is generally necessary. I've left a block to make sure we still need to set
100 eerror "on dev-perl/module-build" 100 eerror "on dev-perl/module-build"
101 eerror "${BUILDER_VER}" 101 eerror "${BUILDER_VER}"
102 eerror 102 eerror
103 die 103 die
104 else 104 else
105 perl ${S}/Build.PL installdirs=vendor destdir=${D} 105 perl ${S}/Build.PL installdirs=vendor destdir=${D} libdoc=
106 fi 106 fi
107 else 107 else
108 einfo "Using ExtUtils::MakeMaker" 108 einfo "Using ExtUtils::MakeMaker"
109 perl Makefile.PL ${myconf} \ 109 #perl Makefile.PL ${myconf} \
110 perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\
110 PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} 111 PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D}
111 fi 112 fi
112} 113}
113 114
114perl-module_src_compile() { 115perl-module_src_compile() {
116 perlinfo 117 perlinfo
117 [ "${SRC_PREP}" != "yes" ] && perl-module_src_prep 118 [ "${SRC_PREP}" != "yes" ] && perl-module_src_prep
118 if [ -z ${BUILDER_VER} ]; then 119 if [ -z ${BUILDER_VER} ]; then
119 make ${mymake} || die "compilation failed" 120 make ${mymake} || die "compilation failed"
120 else 121 else
121 perl ${S}/Build build 122 perl ${S}/Build build
122 fi 123 fi
123 124
124} 125}
125 126
126perl-module_src_test() { 127perl-module_src_test() {

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80

  ViewVC Help
Powered by ViewVC 1.1.20