mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 17:36: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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
# @ECLASS: multilib-minimal.eclass
|
# @ECLASS: multilib-minimal.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# Multilib team <multilib@gentoo.org>
|
# Michał Górny <mgorny@gentoo.org>
|
||||||
# @SUPPORTED_EAPIS: 4 5 6 7
|
# @SUPPORTED_EAPIS: 5 6 7 8
|
||||||
|
# @PROVIDES: multilib-build
|
||||||
# @BLURB: wrapper for multilib builds providing convenient multilib_src_* functions
|
# @BLURB: wrapper for multilib builds providing convenient multilib_src_* functions
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
#
|
#
|
||||||
@ -23,14 +24,13 @@
|
|||||||
# If you need generic install rules, use multilib_src_install_all function.
|
# If you need generic install rules, use multilib_src_install_all function.
|
||||||
|
|
||||||
|
|
||||||
# EAPI=4 is required for meaningful MULTILIB_USEDEP.
|
case ${EAPI} in
|
||||||
case ${EAPI:-0} in
|
5|6|7|8) ;;
|
||||||
4|5|6|7) ;;
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
*) die "EAPI=${EAPI} is not supported" ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
[[ ${EAPI} == [45] ]] && inherit eutils
|
[[ ${EAPI} == 5 ]] && 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…
Reference in New Issue
Block a user