/[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.95 Revision 1.96
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.95 2006/06/07 21:15:08 mcummings Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.96 2006/06/12 20:11:39 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
101 einfo "Using ExtUtils::MakeMaker" 101 einfo "Using ExtUtils::MakeMaker"
102 #perl Makefile.PL ${myconf} \ 102 #perl Makefile.PL ${myconf} \
103 perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\ 103 perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\
104 PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)" 104 PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} || die "Unable to build! (are you using USE=\"build\"?)"
105 fi 105 fi
106 if [ -f Build.PL ] && [ ! -f Makefile.PL ] ; then 106 if [ -f Build.PL ] && ( [ ! -f Makefile.PL ] || [ ${PN} == "module-build" ]); then
107 einfo "Using Module::Build" 107 einfo "Using Module::Build"
108 perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)" 108 perl Build.PL --installdirs=vendor --destdir=${D} --libdoc= || die "Unable to build! (are you using USE=\"build\"?)"
109 fi 109 fi
110 if [ ! -f Build.PL ] && [ ! -f Makefile.PL ]; then 110 if [ ! -f Build.PL ] && [ ! -f Makefile.PL ]; then
111 einfo "No Make or Build file detected..." 111 einfo "No Make or Build file detected..."

Legend:
Removed from v.1.95  
changed lines
  Added in v.1.96

  ViewVC Help
Powered by ViewVC 1.1.20