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