mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 01:16:59 +02:00
eclass/multilib-minimal: Sync with gentoo
It's from gentoo commit 4f7f10044d8f647292fd88b16f18012bc987c4b8.
This commit is contained in:
parent
c3cbaf1fb2
commit
57ca064a75
@ -1,10 +1,11 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# @ECLASS: multilib-minimal.eclass
|
||||
# @MAINTAINER:
|
||||
# Multilib team <multilib@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 4 5 6 7
|
||||
# Michał Górny <mgorny@gentoo.org>
|
||||
# @SUPPORTED_EAPIS: 5 6 7 8
|
||||
# @PROVIDES: multilib-build
|
||||
# @BLURB: wrapper for multilib builds providing convenient multilib_src_* functions
|
||||
# @DESCRIPTION:
|
||||
#
|
||||
@ -23,14 +24,13 @@
|
||||
# If you need generic install rules, use multilib_src_install_all function.
|
||||
|
||||
|
||||
# EAPI=4 is required for meaningful MULTILIB_USEDEP.
|
||||
case ${EAPI:-0} in
|
||||
4|5|6|7) ;;
|
||||
*) die "EAPI=${EAPI} is not supported" ;;
|
||||
case ${EAPI} in
|
||||
5|6|7|8) ;;
|
||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||
esac
|
||||
|
||||
|
||||
[[ ${EAPI} == [45] ]] && inherit eutils
|
||||
[[ ${EAPI} == 5 ]] && inherit eutils
|
||||
inherit multilib-build
|
||||
|
||||
EXPORT_FUNCTIONS src_configure src_compile src_test src_install
|
||||
|
Loading…
Reference in New Issue
Block a user