You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
947 B
38 lines
947 B
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
inherit pax-utils rpm
|
|
|
|
MY_PV=$(ver_rs 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? ( https://downloads.linux.hpe.com/SDR/repo/spp/RHEL/7/x86_64/current/${PN}-${MY_PV}.x86_64.rpm )"
|
|
|
|
LICENSE="hpe"
|
|
SLOT="0"
|
|
KEYWORDS="-* amd64"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND="elibc_glibc? ( >sys-libs/glibc-2.14 )"
|
|
|
|
S="${WORKDIR}"
|
|
|
|
QA_PRESTRIPPED="usr/sbin/hponcfg usr/lib*/libcp*"
|
|
QA_PREBUILT="${QA_PRESTRIPPED}"
|
|
|
|
src_install() {
|
|
dosbin sbin/hponcfg
|
|
|
|
# When bumping, verify SONAME (scanelf -S libhponcfg64.so)!
|
|
newlib.so "${S}"/usr/lib64/libhponcfg64.so libcpqci64.so.3
|
|
dosym libcpqci64.so.3 /usr/$(get_libdir)/libhponcfg64.so
|
|
|
|
dodoc "${S}"/usr/share/doc/hponcfg/*
|
|
|
|
pax-mark m "${D}"/usr/sbin/hponcfg
|
|
}
|