diff options
Diffstat (limited to 'sys-apps/smc-sum/smc-sum-2.0.1.20180420.ebuild')
-rw-r--r-- | sys-apps/smc-sum/smc-sum-2.0.1.20180420.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-apps/smc-sum/smc-sum-2.0.1.20180420.ebuild b/sys-apps/smc-sum/smc-sum-2.0.1.20180420.ebuild new file mode 100644 index 000000000000..cdbd078eb847 --- /dev/null +++ b/sys-apps/smc-sum/smc-sum-2.0.1.20180420.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eapi7-ver + +MY_DATE="$(ver_cut 4)" +MY_PN="${PN/smc-/}" +MY_PV="$(ver_cut 1-3)" + +DESCRIPTION="Updates the BIOS and IPMI firmware and system settings on Supermicro mainboards" +HOMEPAGE="https://www.supermicro.com" +SRC_URI="${MY_PN}_${MY_PV}_Linux_x86_64_${MY_DATE}.tar.gz" + +KEYWORDS="-* ~amd64 ~x86" +LICENSE="supermicro" +SLOT="0" + +RDEPEND="sys-apps/smc-sum-driver" + +RESTRICT="bindist fetch mirror strip" + +S="${WORKDIR}/${MY_PN}_${MY_PV}_Linux_x86_64" + +DOCS=( "ReleaseNote.txt" "SUM_UserGuide.pdf" "ExternalData/SMCIPID.txt" "ExternalData/VENID.txt" ) + +QA_PREBUILT="usr/bin/smc-sum" + +pkg_nofetch() { + elog "Please download ${A} from" + elog "sftp://dataharbor.supermicro.com" + elog "Username: dpguest\$ts" + elog "Password: supermicro!@#" + elog "and place it in your DISTDIR directory." +} + +src_install() { + newbin sum smc-sum + + einstalldocs +} |