From c0bf277e22855ea2177f15712ee8888ec6dc2f01 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Sun, 14 Aug 2016 16:40:43 +0200 Subject: sys-apps/hponcfg: New package HP Lights-Out Online Configuration utility (HPONCFG) is a configuration utility available from HPE to configure iLO of Proliant Server. Package-Manager: portage-2.3.0 --- sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild (limited to 'sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild') diff --git a/sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild b/sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild new file mode 100644 index 000000000000..96905ae50c91 --- /dev/null +++ b/sys-apps/hponcfg/hponcfg-4.6.0.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit pax-utils rpm versionator + +MY_PV=$(replace_version_separator 3 '-') + +DESCRIPTION="HP Lights-Out Online Configuration Utility (HPONCFG)" +HOMEPAGE="http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_5ab6295f49964f16a699064f29" +SRC_URI=" + amd64? ( http://downloads.linux.hpe.com/SDR/repo/spp/RHEL/6/x86_64/current/${PN}-${MY_PV}.x86_64.rpm ) + x86? ( http://downloads.linux.hpe.com/SDR/repo/spp/RHEL/6/i686/current/${PN}-${MY_PV}.i386.rpm )" + +LICENSE="hpe" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="elibc_glibc? ( >sys-libs/glibc-2.14 )" + +S="${WORKDIR}" + +QA_PRESTRIPPED="/usr/sbin/hponcfg /usr/li.*/libcpqc.*" + +src_install() { + dosbin sbin/hponcfg + + # When bumping, verify SONAME (scanelf -S libhponcfg64.so)! + if use amd64; then + newlib.so "${S}"/usr/lib64/libhponcfg64.so libcpqci64.so.3 + dosym libcpqci64.so.3 /usr/$(get_libdir)/libhponcfg64.so + elif use x86; then + newlib.so "${S}"/usr/lib/libhponcfg.so libcpqci.so.3 + dosym libcpqci.so.3 /usr/$(get_libdir)/libhponcfg.so + fi + + dodoc "${S}"/usr/share/doc/hponcfg/* + + pax-mark m "${D}"usr/sbin/hponcfg +} -- cgit v1.2.3-65-gdbad