diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2002-07-27 18:28:00 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2002-07-27 18:28:00 +0000 |
commit | 434bb798580d579cae3386710270bdc8a8030e3b (patch) | |
tree | fe57cd870c36a3777878460a1fc31de475fd0600 | |
parent | Fixed new perl-module problems. (diff) | |
download | historical-434bb798580d579cae3386710270bdc8a8030e3b.tar.gz historical-434bb798580d579cae3386710270bdc8a8030e3b.tar.bz2 historical-434bb798580d579cae3386710270bdc8a8030e3b.zip |
Renamed functions to reflect eclass name change.
-rw-r--r-- | eclass/perl-module.eclass | 12 | ||||
-rw-r--r-- | eclass/perl-post.eclass | 16 |
2 files changed, 14 insertions, 14 deletions
diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index e623dda27cf4..d8aa8f73de0d 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -1,7 +1,7 @@ # 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.eclass,v 1.14 2002/07/26 21:50:16 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.15 2002/07/27 18:28:00 aliz Exp $ # The perl-module eclass is designed to allow easier installation of perl # modules, and their incorporation into the Gentoo Linux system. @@ -17,23 +17,23 @@ newdepend ">=sys-devel/perl-5" SRC_PREP="no" -base_src_prep() { +perl-module_src_prep() { SRC_PREP="yes" perl Makefile.PL ${myconf} } -base_src_compile() { +perl-module_src_compile() { - [ "${SRC_PREP}" != "yes" ] && base_src_prep + [ "${SRC_PREP}" != "yes" ] && perl-module_src_prep make ${mymake} || die "compilation failed" } -base_src_test() { +perl-module_src_test() { make test } -base_src_install() { +perl-module_src_install() { perl_perlinfo dodir ${POD_DIR} diff --git a/eclass/perl-post.eclass b/eclass/perl-post.eclass index 91c99c571ec8..ceeda460f6af 100644 --- a/eclass/perl-post.eclass +++ b/eclass/perl-post.eclass @@ -1,7 +1,7 @@ # 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-post.eclass,v 1.6 2002/07/26 21:50:16 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/perl-post.eclass,v 1.7 2002/07/27 18:28:00 aliz Exp $ # The perl-post eclass is designed to allow the ${installarchdir}/perllocal.pod # file to be updated cleanly after perl and/or perl-modules are installed # or removed. @@ -15,33 +15,33 @@ ARCH_LIB="" POD_DIR="" -perl_pkg_setup() { +perl-post_pkg_setup() { perlinfo } -perl_pkg_preinst() { +perl-post_pkg_preinst() { perlinfo } -perl_pkg_postinst() { +perl-post_pkg_postinst() { updatepod } -perl_pkg_prerm() { +perl-post_pkg_prerm() { updatepod } -perl_pkg_postrm() { +perl-post_pkg_postrm() { updatepod } -perl_perlinfo() { +perl-post_perlinfo() { if [ -f /usr/bin/perl ] then @@ -54,7 +54,7 @@ perl_perlinfo() { } -perl_updatepod() { +perl-post_updatepod() { perlinfo if [ -d "${POD_DIR}" ] |