/[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.85 Revision 1.86
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.85 2006/04/01 15:58:29 mcummings Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.86 2006/04/03 11:16:52 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
93 93
94 export PERL_MM_USE_DEFAULT=1 94 export PERL_MM_USE_DEFAULT=1
95 95
96 96
97 SRC_PREP="yes" 97 SRC_PREP="yes"
98 if [ -f ${S}/Makefile.PL ]; then 98 if [ -f Makefile.PL ]; then
99 einfo "Using ExtUtils::MakeMaker" 99 einfo "Using ExtUtils::MakeMaker"
100 #perl Makefile.PL ${myconf} \ 100 #perl Makefile.PL ${myconf} \
101 perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\ 101 perl Makefile.PL ${myconf} INSTALLMAN3DIR='none'\
102 PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D} 102 PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D}
103 elif [ -f ${S}/Build.PL ] && [ "${USE_BUILDER}" == "yes" ]; then 103 elif [ -f Build.PL ] && [ "${USE_BUILDER}" == "yes" ]; then
104 einfo "Using Module::Build" 104 einfo "Using Module::Build"
105 if [ -z ${BUILDER_VER} ]; then 105 if [ -z ${BUILDER_VER} ]; then
106 eerror 106 eerror
107 eerror "Please post a bug on http://bugs.gentoo.org assigned to" 107 eerror "Please post a bug on http://bugs.gentoo.org assigned to"
108 eerror "perl@gentoo.org - ${P} was added without a dependancy" 108 eerror "perl@gentoo.org - ${P} was added without a dependancy"
109 eerror "on dev-perl/module-build" 109 eerror "on dev-perl/module-build"
110 eerror "${BUILDER_VER}" 110 eerror "${BUILDER_VER}"
111 eerror 111 eerror
112 die 112 die
113 else 113 else
114 perl ${S}/Build.PL installdirs=vendor destdir=${D} libdoc= 114 perl Build.PL installdirs=vendor destdir=${D} libdoc=
115 fi 115 fi
116 else 116 else
117 einfo "No Make or Build file detect..." 117 einfo "No Make or Build file detect..."
118 return 118 return
119 fi 119 fi

Legend:
Removed from v.1.85  
changed lines
  Added in v.1.86

  ViewVC Help
Powered by ViewVC 1.1.20