mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-01 02:22:11 +02:00
eclass/multilib-minimal: Support EAPI 4
This commit is contained in:
parent
57ca064a75
commit
6d921008d6
@ -1,6 +1,8 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Flatcar: Support EAPI 4.
|
||||||
|
|
||||||
# @ECLASS: multilib-minimal.eclass
|
# @ECLASS: multilib-minimal.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# Michał Górny <mgorny@gentoo.org>
|
# Michał Górny <mgorny@gentoo.org>
|
||||||
@ -25,12 +27,12 @@
|
|||||||
|
|
||||||
|
|
||||||
case ${EAPI} in
|
case ${EAPI} in
|
||||||
5|6|7|8) ;;
|
4|5|6|7|8) ;;
|
||||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
[[ ${EAPI} == 5 ]] && inherit eutils
|
[[ ${EAPI} == [45] ]] && inherit eutils
|
||||||
inherit multilib-build
|
inherit multilib-build
|
||||||
|
|
||||||
EXPORT_FUNCTIONS src_configure src_compile src_test src_install
|
EXPORT_FUNCTIONS src_configure src_compile src_test src_install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user