diff options
Diffstat (limited to 'sys-apps/ipmicfg/ipmicfg-1.31.0.200205.ebuild')
-rw-r--r-- | sys-apps/ipmicfg/ipmicfg-1.31.0.200205.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-apps/ipmicfg/ipmicfg-1.31.0.200205.ebuild b/sys-apps/ipmicfg/ipmicfg-1.31.0.200205.ebuild new file mode 100644 index 000000000000..6c3e2af0a83a --- /dev/null +++ b/sys-apps/ipmicfg/ipmicfg-1.31.0.200205.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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="ftp://ftp.supermicro.com/utility/${MY_PN}/${MY_PN}_${MY_PV}_build.${MY_DATE}.zip" + +KEYWORDS="-* ~amd64 ~x86" +LICENSE="supermicro" +SLOT="0" + +BDEPEND="app-arch/unzip" + +RESTRICT="bindist fetch mirror" + +S="${WORKDIR}/${MY_PN}_${MY_PV}_build.${MY_DATE}" + +QA_PREBUILT="usr/bin/ipmicfg" + +pkg_nofetch() { + elog "Please download ${A} from" + elog "https://www.supermicro.com/SwDownload/UserInfo.aspx?sw=0&cat=IPMI" + elog "and place it in your DISTDIR directory." +} + +src_install() { + newbin Linux/$(usex amd64 '64bit' '32bit')/IPMICFG-Linux.x86$(usex amd64 '_64' '') ipmicfg + + # Install docs + local DOCS=( + "IPMICFG_UserGuide.pdf" + "ReleaseNotes.txt" + ) + einstalldocs +} |