| 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.124 2010/04/22 11:43:30 tove Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.125 2010/06/16 08:54:46 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: |
| … | |
… | |
| 308 | |
308 | |
| 309 | |
309 | |
| 310 | perl_delete_packlist() { |
310 | perl_delete_packlist() { |
| 311 | debug-print-function $FUNCNAME "$@" |
311 | debug-print-function $FUNCNAME "$@" |
| 312 | perl_set_version |
312 | perl_set_version |
| 313 | if [[ -d ${D}/${VENDOR_LIB} ]] ; then |
313 | if [[ -d ${D}/${VENDOR_ARCH} ]] ; then |
| 314 | find "${D}/${VENDOR_LIB}" -type f -a \( -name .packlist \ |
314 | find "${D}/${VENDOR_ARCH}" -type f -a \( -name .packlist \ |
| 315 | -o \( -name '*.bs' -a -empty \) \) -delete |
315 | -o \( -name '*.bs' -a -empty \) \) -delete |
| 316 | find "${D}/${VENDOR_LIB}" -depth -mindepth 1 -type d -empty -delete |
316 | find "${D}" -depth -mindepth 1 -type d -empty -delete |
| 317 | fi |
317 | fi |
| 318 | } |
318 | } |
| 319 | |
319 | |
| 320 | perl_remove_temppath() { |
320 | perl_remove_temppath() { |
| 321 | debug-print-function $FUNCNAME "$@" |
321 | debug-print-function $FUNCNAME "$@" |