summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2002-09-09 21:51:58 +0000
committerMichael Cummings <mcummings@gentoo.org>2002-09-09 21:51:58 +0000
commit1aed59663f8deb2cdbc25149d013b27d5fd57745 (patch)
treee797df758056e3ee4883f71937b02aa239a40daf
parentUpdated perl-module eclass no supports the newer version of perl's (diff)
downloadhistorical-1aed59663f8deb2cdbc25149d013b27d5fd57745.tar.gz
historical-1aed59663f8deb2cdbc25149d013b27d5fd57745.tar.bz2
historical-1aed59663f8deb2cdbc25149d013b27d5fd57745.zip
This test eclass has been tested on all platforms and is no longer
needed in testing.
-rw-r--r--eclass/perl-module-test.eclass86
1 files changed, 0 insertions, 86 deletions
diff --git a/eclass/perl-module-test.eclass b/eclass/perl-module-test.eclass
deleted file mode 100644
index 46582a0d25ec..000000000000
--- a/eclass/perl-module-test.eclass
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License, v2
-# Author: Seemant Kulleen <seemant@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module-test.eclass,v 1.2 2002/08/23 16:59:18 mcummings Exp $
-# The perl-module eclass is designed to allow easier installation of perl
-# modules, and their incorporation into the Gentoo Linux system.
-
-#first inherit the pkg_postinst() and pkg_postrm() functions
-inherit perl-post
-
-ECLASS=perl-module
-INHERITED="$INHERITED $ECLASS"
-
-EXPORT_FUNCTIONS src_compile src_install src_test
-
-eval `perl '-V:version'`
- if [ ${version} == '5.6.1' ];
- then
- DEPEND=">=sys-devel/perl-5 \
- dev-perl/ExtUtils-MakeMaker"
- else
- DEPEND=">=sys-devel/perl-5"
- fi
-
-
-SRC_PREP="no"
-
-perl-module_src_prep() {
-
- SRC_PREP="yes"
- eval `perl '-V:version'`
- perl Makefile.PL ${myconf} \
- PREFIX=${D}/usr
-}
-
-perl-module_src_compile() {
-
- [ "${SRC_PREP}" != "yes" ] && perl-module_src_prep
- make ${mymake} || die "compilation failed"
-}
-
-perl-module_src_test() {
- make test
-}
-
-perl-module_src_install() {
-
- perl-post_perlinfo
- dodir ${POD_DIR}
-
- test -z ${mytargets} && mytargets="install"
-
- make \
- PREFIX=${D}/usr \
- INSTALLMAN1DIR=${D}/usr/share/man/man1 \
- INSTALLMAN2DIR=${D}/usr/share/man/man2 \
- INSTALLMAN3DIR=${D}/usr/share/man/man3 \
- INSTALLMAN4DIR=${D}/usr/share/man/man4 \
- INSTALLMAN5DIR=${D}/usr/share/man/man5 \
- INSTALLMAN6DIR=${D}/usr/share/man/man6 \
- INSTALLMAN7DIR=${D}/usr/share/man/man7 \
- INSTALLMAN8DIR=${D}/usr/share/man/man8 \
- ${myinst} \
- ${mytargets} || die
-
-
- if [ -f ${D}${ARCH_LIB}/perllocal.pod ];
- then
- touch ${D}/${POD_DIR}/${P}.pod
- sed -e "s:${D}::g" ${D}${ARCH_LIB}/perllocal.pod >> ${D}/${POD_DIR}/${P}.pod
- touch ${D}/${POD_DIR}/${P}.pod.arch
- cat ${D}/${POD_DIR}/${P}.pod >>${D}/${POD_DIR}/${P}.pod.arch
- rm -f ${D}/${ARCH_LIB}/perllocal.pod
- fi
-
- if [ -f ${D}${SITE_LIB}/perllocal.pod ];
- then
- touch ${D}/${POD_DIR}/${P}.pod
- sed -e "s:${D}::g" ${D}${SITE_LIB}/perllocal.pod >> ${D}/${POD_DIR}/${P}.pod
- touch ${D}/${POD_DIR}/${P}.pod.site
- cat ${D}/${POD_DIR}/${P}.pod >>${D}/${POD_DIR}/${P}.pod.site
- rm -f ${D}/${SITE_LIB}/perllocal.pod
- fi
-
- dodoc Change* MANIFEST* README* ${mydoc}
-}