diff options
author | Conrad Kostecki <conrad@kostecki.com> | 2018-12-01 00:33:04 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-12-16 20:29:11 +0100 |
commit | 5af5ca7f3b195eb34a16a61bf1ad32018692e685 (patch) | |
tree | cbc73c3bd5b8f193833f100c34ffe3e0e850d03b /sys-apps/ipmicfg/ipmicfg-1.29.0.181029.ebuild | |
parent | sys-auth/elogind: 239.3 version bump (diff) | |
download | gentoo-5af5ca7f3b195eb34a16a61bf1ad32018692e685.tar.gz gentoo-5af5ca7f3b195eb34a16a61bf1ad32018692e685.tar.bz2 gentoo-5af5ca7f3b195eb34a16a61bf1ad32018692e685.zip |
sys-apps/ipmicfg: bump to version 1.29.0.181029
Also bumped to EAPI=7.
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/10531
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sys-apps/ipmicfg/ipmicfg-1.29.0.181029.ebuild')
-rw-r--r-- | sys-apps/ipmicfg/ipmicfg-1.29.0.181029.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/sys-apps/ipmicfg/ipmicfg-1.29.0.181029.ebuild b/sys-apps/ipmicfg/ipmicfg-1.29.0.181029.ebuild new file mode 100644 index 000000000000..269ad03eb27b --- /dev/null +++ b/sys-apps/ipmicfg/ipmicfg-1.29.0.181029.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 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" + +DEPEND="app-arch/unzip" + +RESTRICT="bindist fetch mirror" + +S="${WORKDIR}/${MY_PN}_${MY_PV}_build.${MY_DATE}" + +QA_PREBUILT=" + opt/ipmicfg/IPMICFG-Linux.x86 + opt/ipmicfg/IPMICFG-Linux.x86_64 +" + +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() { + # Choose ARCH + local my_arch_binary="$(usex amd64 'x86_64' 'x86')" + local my_arch_folder="$(usex amd64 '64bit' '32bit')" + + # Install files + insinto /opt/ipmicfg + doins Linux/"${my_arch_folder}"/*.dat + + # Install binary + exeinto /opt/ipmicfg + doexe Linux/"${my_arch_folder}"/IPMICFG-Linux."${my_arch_binary}" + + # Install symlink + dodir /opt/bin + dosym ../ipmicfg/IPMICFG-Linux."${my_arch_binary}" /opt/bin/ipmicfg + + # Install docs + local DOCS=( + "IPMICFG_UserGuide.pdf" + "ReleaseNotes.txt" + ) + einstalldocs +} |