blob: 187ca88a4e66b804fd2a28be10e8eeb69a656227 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/arrayprobe/arrayprobe-2.0-r2.ebuild,v 1.2 2010/01/14 12:39:34 fauli Exp $
inherit eutils
inherit autotools
DESCRIPTION="CLI utility that reports the status of a HP (Compaq) array controller (both IDA & CCISS supported)."
HOMEPAGE="http://www.strocamp.net/opensource/arrayprobe.php"
SRC_URI="http://www.strocamp.net/opensource/compaq/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 x86"
IUSE=""
DEPEND="virtual/linux-sources"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PV}-malloc-strlen.patch"
epatch "${FILESDIR}/${PV}-ida_headers.patch"
eautoreconf
}
src_install() {
make DESTDIR="${D}" install || die
}
|