blob: c295abef654e224bbdc805a5f306c49c233ca5c5 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/ipmiutil/ipmiutil-2.1.2.ebuild,v 1.1 2008/08/01 09:59:36 dev-zero Exp $
inherit autotools eutils
DESCRIPTION="IPMI Management Utilities"
HOMEPAGE="http://ipmiutil.sf.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND=""
DEPEND="virtual/os-headers"
src_unpack() {
unpack ${A}
# The following upstream directories are unneeded/obsolete:
# hpiutil kern test
# we remove them for safety:
cd "${S}"
rm -rf hpiutil kern test
# They get misplaced
sed -i \
-e '/COPYING/d' \
-e '/README/d' \
-e '/UserGuide/d' \
"${S}/doc/Makefile" || die "sed failed"
# Upstream requests this
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README TODO doc/UserGuide
}
|