diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2022-02-09 22:30:55 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2022-02-09 23:56:34 +0100 |
commit | d9be8481644ac6daff4dc9d376864f21e6ba3278 (patch) | |
tree | ac618267fcd4d66f3c4af497d24089d5f86d7429 | |
parent | sys-apps/idle3-tools: drop 0.9.3_pre20120123-r1 (diff) | |
download | gentoo-d9be8481644ac6daff4dc9d376864f21e6ba3278.tar.gz gentoo-d9be8481644ac6daff4dc9d376864f21e6ba3278.tar.bz2 gentoo-d9be8481644ac6daff4dc9d376864f21e6ba3278.zip |
sys-apps/ipmicfg: update EAPI 7 -> 8
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
-rw-r--r-- | sys-apps/ipmicfg/ipmicfg-1.33.0.210528-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sys-apps/ipmicfg/ipmicfg-1.33.0.210528-r1.ebuild b/sys-apps/ipmicfg/ipmicfg-1.33.0.210528-r1.ebuild new file mode 100644 index 000000000000..24e4375c565c --- /dev/null +++ b/sys-apps/ipmicfg/ipmicfg-1.33.0.210528-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_DATE="$(ver_cut 4)" +MY_PN="${PN^^}" +MY_PV="$(ver_cut 1-3)" + +DESCRIPTION="An in-band utility for configuring Supermicro IPMI devices" +HOMEPAGE="https://www.supermicro.com" +SRC_URI="https://www.supermicro.com/wftp/utility/${MY_PN}/${MY_PN}_${MY_PV}_build.${MY_DATE}.zip" +S="${WORKDIR}/${MY_PN}_${MY_PV}_build.${MY_DATE}" + +LICENSE="supermicro" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="uefi" + +BDEPEND="app-arch/unzip" + +RESTRICT="bindist mirror" + +QA_PREBUILT="usr/bin/ipmicfg" + +src_install() { + newbin Linux/$(usex amd64 '64bit' '32bit')/IPMICFG-Linux.x86$(usex amd64 '_64' '') ipmicfg + + if use uefi; then + insinto /usr/share/ipmicfg + newins UEFI/IPMICFG.efi ipmicfg.efi + fi + + # Install docs + local DOCS=( + "IPMICFG_UserGuide.pdf" + "ReleaseNotes.txt" + ) + einstalldocs +} |