/[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.117 Revision 1.119
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 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.117 2009/09/27 07:00:32 tove Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.119 2009/11/14 08:58:50 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:
43 43
44[[ -z "${SRC_URI}" && -z "${MODULE_A}" ]] && MODULE_A="${MY_P:-${P}}.tar.gz" 44[[ -z "${SRC_URI}" && -z "${MODULE_A}" ]] && MODULE_A="${MY_P:-${P}}.tar.gz"
45[[ -z "${SRC_URI}" && -n "${MODULE_AUTHOR}" ]] && \ 45[[ -z "${SRC_URI}" && -n "${MODULE_AUTHOR}" ]] && \
46 SRC_URI="mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MODULE_SECTION}/${MODULE_A}" 46 SRC_URI="mirror://cpan/authors/id/${MODULE_AUTHOR:0:1}/${MODULE_AUTHOR:0:2}/${MODULE_AUTHOR}/${MODULE_SECTION}/${MODULE_A}"
47[[ -z "${HOMEPAGE}" ]] && \ 47[[ -z "${HOMEPAGE}" ]] && \
48 HOMEPAGE="http://search.cpan.org/dist/${MY_PN:-${PN}}" 48 HOMEPAGE="http://search.cpan.org/dist/${MY_PN:-${PN}}/"
49 49
50SRC_PREP="no" 50SRC_PREP="no"
51SRC_TEST="skip" 51SRC_TEST="skip"
52PREFER_BUILDPL="yes" 52PREFER_BUILDPL="yes"
53 53
251 find "${D}" -type f -name perllocal.pod -delete 251 find "${D}" -type f -name perllocal.pod -delete
252 find "${D}" -depth -mindepth 1 -type d -empty -delete 252 find "${D}" -depth -mindepth 1 -type d -empty -delete
253} 253}
254 254
255linkduallifescripts() { 255linkduallifescripts() {
256 if [[ ${CATEGORY} != perl-core ]] || ! has_version ">=dev-lang/perl-5.10.1" ; then 256 if [[ ${CATEGORY} != perl-core ]] || ! has_version ">=dev-lang/perl-5.8.8-r8" ; then
257 return 0 257 return 0
258 fi 258 fi
259 259
260 local i ff 260 local i ff
261 if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ; then 261 if has "${EBUILD_PHASE:-none}" "postinst" "postrm" ; then

Legend:
Removed from v.1.117  
changed lines
  Added in v.1.119

  ViewVC Help
Powered by ViewVC 1.1.20