| 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.118 2009/11/10 12:53:53 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: |
| … | |
… | |
| 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 | |
| 255 | linkduallifescripts() { |
255 | linkduallifescripts() { |
| 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 |