/[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.37 Revision 1.38
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
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.37 2003/05/30 13:14:19 seemant Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.38 2003/05/31 16:09:01 mcummings Exp $
4# 4#
5# Author: Seemant Kulleen <seemant@gentoo.org> 5# Author: Seemant Kulleen <seemant@gentoo.org>
6# 6#
7# The perl-module eclass is designed to allow easier installation of perl 7# The perl-module eclass is designed to allow easier installation of perl
8# modules, and their incorporation into the Gentoo Linux system. 8# modules, and their incorporation into the Gentoo Linux system.
25 25
26perl-module_src_prep() { 26perl-module_src_prep() {
27 27
28 SRC_PREP="yes" 28 SRC_PREP="yes"
29 perl Makefile.PL ${myconf} \ 29 perl Makefile.PL ${myconf} \
30 PREFIX=${D}/usr 30 PREFIX=${D}/usr
31} 31}
32 32
33perl-module_src_compile() { 33perl-module_src_compile() {
34 34
35 [ "${SRC_PREP}" != "yes" ] && perl-module_src_prep 35 [ "${SRC_PREP}" != "yes" ] && perl-module_src_prep
94 touch ${D}/${POD_DIR}/${P}.pod.site 94 touch ${D}/${POD_DIR}/${P}.pod.site
95 cat ${D}/${POD_DIR}/${P}.pod >>${D}/${POD_DIR}/${P}.pod.site 95 cat ${D}/${POD_DIR}/${P}.pod >>${D}/${POD_DIR}/${P}.pod.site
96 rm -f ${D}/${SITE_LIB}/perllocal.pod 96 rm -f ${D}/${SITE_LIB}/perllocal.pod
97 fi 97 fi
98 98
99 for FILE in `find ${D} -type f -name "*.html" -o -name ".packlist"`; do
100 sed -ie "s:${D}:/:g" ${FILE}
101 done
102
99 dodoc Change* MANIFEST* README* ${mydoc} 103 dodoc Change* MANIFEST* README* ${mydoc}
100} 104}
101 105
102 106
103perl-module_pkg_setup() { 107perl-module_pkg_setup() {

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

  ViewVC Help
Powered by ViewVC 1.1.20