diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2012-01-15 17:11:08 +0000 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2012-01-15 17:11:08 +0000 |
commit | 877c3046ab0dd9eadc437af5fd1515c025bfa5e5 (patch) | |
tree | 10de37cda34141e56490c17f6c02f2f329e28288 /eclass/vdr-plugin.eclass | |
parent | sparc stable wrt #395339 and #395341 (diff) | |
download | gentoo-2-877c3046ab0dd9eadc437af5fd1515c025bfa5e5.tar.gz gentoo-2-877c3046ab0dd9eadc437af5fd1515c025bfa5e5.tar.bz2 gentoo-2-877c3046ab0dd9eadc437af5fd1515c025bfa5e5.zip |
Add EAPI 4 support
Diffstat (limited to 'eclass/vdr-plugin.eclass')
-rw-r--r-- | eclass/vdr-plugin.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass index f428d94e441c..d26a507f7b34 100644 --- a/eclass/vdr-plugin.eclass +++ b/eclass/vdr-plugin.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.77 2011/12/31 01:01:56 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.78 2012/01/15 17:11:08 idl0r Exp $ # # Author: # Matthias Schwarzott <zzam@gentoo.org> @@ -68,7 +68,7 @@ inherit base multilib eutils flag-o-matic -if ! has "${EAPI:-0}" 0 1 2 3; then +if ! has "${EAPI:-0}" 0 1 2 3 4; then die "API of vdr-plugin.eclass in EAPI=\"${EAPI}\" not established" fi @@ -479,7 +479,7 @@ vdr-plugin_src_unpack() { fi if [ -z "$1" ]; then case "${EAPI:-0}" in - 2|3) + 2|3|4) vdr-plugin_src_util unpack ;; *) @@ -622,7 +622,7 @@ vdr-plugin_pkg_config() { } case "${EAPI:-0}" in - 2|3) + 2|3|4) EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_compile src_install pkg_postinst pkg_postrm pkg_config ;; *) |