Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-perl
Navigation:
Lists: gentoo-perl: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-perl@g.o
From: Michael Cummings <mcummings@g.o>
Subject: Re: Proposed perl-module.eclass additions
Date: Fri, 01 Sep 2006 12:07:22 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael Cummings wrote:
> Christian Hartmann wrote:
>>> Sure.. why not. - Wouldn't that be something for eutils btw?
>>>
> Oh great swami, you are right. Here's what I'd like to push into the
> tree today (yeah, already written, but thought I'd swing it through here
> real fast):
> 
Not sure what happened to my last version of this, but it was broken
anyway so here's a better working one:

$ diff -Naup ~/perl-module.eclass perl-module.eclass
- --- /home/mcummings/perl-module.eclass  2006-09-01 11:07:54.000000000
-0400
+++ perl-module.eclass  2006-09-01 11:09:22.000000000 -0400
@@ -8,8 +8,9 @@
 # The perl-module eclass is designed to allow easier installation of perl
 # modules, and their incorporation into the Gentoo Linux system.

+inherit base

- -EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm
pkg_postrm src_compile src_install src_test
+EXPORT_FUNCTIONS pkg_setup pkg_preinst pkg_postinst pkg_prerm
pkg_postrm src_compile src_install src_test src_unpack

 # 2005.04.28 mcummings
 # Mounting problems with src_test functions has forced me to make the
@@ -95,6 +96,15 @@ POD_DIR=""
 BUILDER_VER=""
 pm_echovar=""

+perl-module_src_unpack() {
+       if [[ -n ${PATCHES} ]]; then
+               base_src_unpack unpack
+               base_src_unpack autopatch
+       else
+               base_src_unpack unpack
+       fi
+}
+
 perl-module_src_prep() {

        perlinfo

- --

- -----o()o----------------------------------------------
Michael Cummings   |    #gentoo-dev, #gentoo-perl
Gentoo Perl Dev    |    on irc.freenode.net
Gentoo/SPARC
Gentoo/AMD64
GPG: 0543 6FA3 5F82 3A76 3BF7  8323 AB5C ED4E 9E7F 4E2E
- -----o()o----------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFE+Fq6q1ztTp5/Ti4RAhgMAJ4pZvZPymZ/DT+vxQsLroWsE/sV/ACfceyH
H3TAos9AdEC7ZgXjKaF2cpo=
=0pdA
-----END PGP SIGNATURE-----
-- 
gentoo-perl@g.o mailing list


References:
Proposed perl-module.eclass additions
-- Michael Cummings
Re: Proposed perl-module.eclass additions
-- Christian Hartmann
Navigation:
Lists: gentoo-perl: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Proposed perl-module.eclass additions
Next by thread:
Term-Readline-Perl vs Term-Readline-GNU
Previous by date:
Re: [Fwd: [gentoo-dev] axkit needs you! (before we give it the axe)]
Next by date:
perl-info - emerge --info for perl


Updated Jun 17, 2009

Summary: Archive of the gentoo-perl mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.