blob: 71b54d6234d798cf731d29cc621e1cc565f05b31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/ipmiutil/ipmiutil-1.6.0.ebuild,v 1.1 2005/03/25 10:12:47 robbat2 Exp $
inherit flag-o-matic eutils
DESCRIPTION="IPMI Management Utilities"
HOMEPAGE="http://ipmiutil.sf.net/"
SRC_URI="mirror://sourceforge/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RDEPEND="virtual/libc
>=sys-libs/freeipmi-0.1.0"
DEPEND="${RDEPEND}
virtual/os-headers"
src_unpack() {
unpack ${A}
EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${P}-link-external-freeipmi.diff
# The following upstream directories are unneeded/obsolete:
# freeipmi hpiutil kern test
# we remove them for safety:
cd ${S}
rm -rf freeipmi hpiutil kern test
}
#src_compile() {
# econf || die "econf failed"
# emake || die "emake failed"
#}
src_install() {
# must come first, due to install system that uses 'mv' instead of 'cp'.
dodoc AUTHORS INSTALL NEWS COPYING README TODO doc/UserGuide
emake DESTDIR="${D}" install || die "emake install failed"
# clean up the install a bit
rm ${D}/usr/share/ipmiutil/{COPYING,README,UserGuide}
}
|