/[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.68 Revision 1.70
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.68 2005/04/29 00:54:37 mcummings Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.70 2005/05/17 14:36:13 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
103 103
104 perlinfo 104 perlinfo
105 [ "${SRC_PREP}" != "yes" ] && perl-module_src_prep 105 [ "${SRC_PREP}" != "yes" ] && perl-module_src_prep
106 if [ -z ${BUILDER_VER} ]; then 106 if [ -z ${BUILDER_VER} ]; then
107 make ${mymake} || die "compilation failed" 107 make ${mymake} || die "compilation failed"
108 else
109 perl ${S}/Build build
108 fi 110 fi
109 111
110} 112}
111 113
112perl-module_src_test() { 114perl-module_src_test() {
142 done 144 done
143 145
144 for doc in Change* MANIFEST* README*; do 146 for doc in Change* MANIFEST* README*; do
145 [ -s "$doc" ] && dodoc $doc 147 [ -s "$doc" ] && dodoc $doc
146 done 148 done
149 if [ -s "${mydoc}" ]; then
147 dodoc ${mydoc} 150 dodoc ${mydoc}
151 fi
148} 152}
149 153
150 154
151perl-module_pkg_setup() { 155perl-module_pkg_setup() {
152 156

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.70

  ViewVC Help
Powered by ViewVC 1.1.20