diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-11 15:27:34 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-11 15:28:09 +0200 |
commit | f94b0c1dd81b023230bd5f3e27ff93be493524d9 (patch) | |
tree | 211a731b1485b5cddff190388ee14bc982712a6e /sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild | |
parent | media-plugins/gst-plugins-opencv: Remove broken MULTILIB_COMPAT (diff) | |
download | gentoo-f94b0c1dd81b023230bd5f3e27ff93be493524d9.tar.gz gentoo-f94b0c1dd81b023230bd5f3e27ff93be493524d9.tar.bz2 gentoo-f94b0c1dd81b023230bd5f3e27ff93be493524d9.zip |
sys-apps/ipmiutil: Bump to version 3.0.6
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Diffstat (limited to 'sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild')
-rw-r--r-- | sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild b/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild new file mode 100644 index 000000000000..9f90df500d29 --- /dev/null +++ b/sys-apps/ipmiutil/ipmiutil-3.0.6.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools systemd + +DESCRIPTION="IPMI Management Utilities" +HOMEPAGE="http://ipmiutil.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" + +RDEPEND=">=dev-libs/openssl-1:0=" +DEPEND="${RDEPEND} + virtual/os-headers" + +PATCHES=( + "${FILESDIR}"/${PN}-2.9.8-flags.patch + "${FILESDIR}"/${PN}-2.9.9-lib_symlink.patch +) + +src_prepare() { + default + + sed -i -e 's|-O2 -g|$(CFLAGS)|g;s|-g -O2|$(CFLAGS)|g' util/Makefile.am* || die + sed -i -e 's|which rpm |which we_are_gentoo_rpm_is_a_guest |' configure.ac || die + + eautoreconf +} + +src_configure() { + econf --disable-systemd --enable-sha256 +} + +src_compile() { + # Ulgy workaround. Upstream is misusing the make system here + # and it doesn't even work. + # Please check on each bump if this workaround is still required. + pushd lib/lanplus &>/dev/null || die + emake || die "emake lanplus failed" + cp libipmi_lanplus.a .. || die + popd &>/dev/null || die + + emake +} + +src_install() { + emake DESTDIR="${D}" sysdto="${D}/$(systemd_get_systemunitdir)" install + dodoc -r AUTHORS ChangeLog NEWS README TODO doc/UserGuide + + # Init scripts are only for Fedora + rm -r "${ED%/}"/etc/init.d || die 'remove initscripts failed' +} |