/[gentoo-x86]/eclass/perl-app.eclass
Gentoo

Contents of /eclass/perl-app.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Sun Dec 29 21:39:51 2013 UTC (7 months ago) by dilfridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +3 -2 lines
Do not use subslots on dev-lang/perl in perl apps (as opposed to modules)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/eclass/perl-app.eclass,v 1.12 2011/12/27 17:55:12 fauli Exp $
4
5 # Author: Michael Cummings <mcummings@gentoo.org>
6 # Maintained by the Perl herd <perl@gentoo.org>
7
8 GENTOO_DEPEND_ON_PERL_SUBSLOT="no"
9 inherit perl-module
10
11 case "${EAPI:-0}" in
12 0|1) EXPORT_FUNCTIONS src_compile ;;
13 2) EXPORT_FUNCTIONS src_configure src_compile ;;
14 esac
15
16 perl-app_src_prep() {
17 perl-app_src_configure
18 }
19
20 perl-app_src_configure() {
21 perl-module_src_configure
22 }
23
24 perl-app_src_compile() {
25 has "${EAPI:-0}" 0 1 && perl-app_src_prep
26 perl-module_src_compile
27 }

  ViewVC Help
Powered by ViewVC 1.1.20