1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 # Author: Michael Cummings <mcummings@gentoo.org>
6 # Maintained by the Perl herd <perl@gentoo.org>
8 # If the ebuild doesn't override this, ensure we do not depend on the perl subslot value
9 : ${GENTOO_DEPEND_ON_PERL_SUBSLOT:="no"}
16 die "EAPI=${EAPI} is not supported by perl-app.eclass. Please use perl-module.eclass instead."
19 die "EAPI=${EAPI} is not supported by perl-app.eclass"
23 # @FUNCTION: perl-app_src_prep
24 # @USAGE: perl-app_src_prep
26 # This is a wrapper function to perl-app_src_configure().
28 perl-app_src_configure
31 # @FUNCTION: perl-app_src_configure
32 # @USAGE: perl-app_src_configure
34 # This is a wrapper function to perl-module_src_configure().
35 perl-app_src_configure() {
36 perl-module_src_configure
39 # @FUNCTION: perl-app_src_compile
40 # @USAGE: perl-app_src_compile
42 # This is a wrapper function to perl-module_src_compile().
43 perl-app_src_compile() {
44 has "${EAPI:-0}" 0 1 && perl-app_src_prep
45 perl-module_src_compile