/[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.113 Revision 1.114
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.113 2009/03/06 11:42:41 tove Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.114 2009/03/11 06:36:45 tove Exp $
4# 4#
5# Author: Seemant Kulleen <seemant@gentoo.org> 5# Author: Seemant Kulleen <seemant@gentoo.org>
6 6
7# @ECLASS: perl-module.eclass 7# @ECLASS: perl-module.eclass
8# @MAINTAINER: 8# @MAINTAINER:
138 138
139perl-module_src_install() { 139perl-module_src_install() {
140 local f 140 local f
141 ${perlinfo_done} || perlinfo 141 ${perlinfo_done} || perlinfo
142 142
143 [[ -z ${mytargets} ]] && mytargets="pure_install" 143 if [[ -z ${mytargets} ]] ; then
144 case "${CATEGORY}" in
145 dev-perl|perl-core) mytargets="pure_install" ;;
146 *) mytargets="install" ;;
147 esac
148 fi
144 149
145 if [[ -f Build ]] ; then 150 if [[ -f Build ]] ; then
146 ./Build ${mytargets} \ 151 ./Build ${mytargets} \
147 || die "./Build ${mytargets} failed" 152 || die "./Build ${mytargets} failed"
148 elif [[ -f Makefile ]] ; then 153 elif [[ -f Makefile ]] ; then

Legend:
Removed from v.1.113  
changed lines
  Added in v.1.114

  ViewVC Help
Powered by ViewVC 1.1.20