mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 10:27:00 +02:00
eclass/preserve-libs: Support EAPI 0 and 4
This commit is contained in:
parent
b5d401dc6b
commit
6b3e575b50
@ -1,14 +1,16 @@
|
|||||||
# 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 0 and 4.
|
||||||
|
|
||||||
# @ECLASS: preserve-libs.eclass
|
# @ECLASS: preserve-libs.eclass
|
||||||
# @MAINTAINER:
|
# @MAINTAINER:
|
||||||
# base-system@gentoo.org
|
# base-system@gentoo.org
|
||||||
# @SUPPORTED_EAPIS: 5 6 7
|
# @SUPPORTED_EAPIS: 0 4 5 6 7
|
||||||
# @BLURB: preserve libraries after SONAME changes
|
# @BLURB: preserve libraries after SONAME changes
|
||||||
|
|
||||||
case ${EAPI:-0} in
|
case ${EAPI:-0} in
|
||||||
[567]) ;;
|
[04567]) ;;
|
||||||
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user