34 lines
848 B
Bash
34 lines
848 B
Bash
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sys-apps/ipmiutil/ipmiutil-2.8.5.ebuild,v 1.4 2013/10/30 16:07:58 jer Exp $
|
|
|
|
EAPI=4
|
|
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"
|
|
IUSE=""
|
|
|
|
RDEPEND=">=dev-libs/openssl-1:0"
|
|
DEPEND="${RDEPEND}
|
|
virtual/os-headers"
|
|
|
|
src_prepare() {
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf --disable-systemd --enable-sha256
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" sysdto="${D}/$(systemd_get_unitdir)" install
|
|
dodoc -r AUTHORS ChangeLog NEWS README TODO doc/UserGuide
|
|
|
|
rm -r "${ED}"/etc/init.d || die 'remove initscripts failed' # These are only for Fedora
|
|
}
|