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

Contents of /eclass/perl-app.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Tue Dec 27 17:55:12 2011 UTC (2 years, 3 months ago) by fauli
Branch: MAIN
Changes since 1.11: +2 -2 lines
Update copyright years in headers

1 # Copyright 1999-2011 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.11 2009/03/06 11:44:18 tove Exp $
4
5 # Author: Michael Cummings <mcummings@gentoo.org>
6 # Maintained by the Perl herd <perl@gentoo.org>
7
8 inherit perl-module
9
10 case "${EAPI:-0}" in
11 0|1) EXPORT_FUNCTIONS src_compile ;;
12 2) EXPORT_FUNCTIONS src_configure src_compile ;;
13 esac
14
15 perl-app_src_prep() {
16 perl-app_src_configure
17 }
18
19 perl-app_src_configure() {
20 perl-module_src_configure
21 }
22
23 perl-app_src_compile() {
24 has "${EAPI:-0}" 0 1 && perl-app_src_prep
25 perl-module_src_compile
26 }

  ViewVC Help
Powered by ViewVC 1.1.20