blob: 9209699945704ee6c1729c87f7e324fc13c322bb (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-block/megactl/megactl-0.4.1.ebuild,v 1.3 2008/05/28 21:18:58 maekke Exp $
inherit eutils
IUSE=""
DESCRIPTION="LSI MegaRAID control utility"
HOMEPAGE="http://sourceforge.net/projects/megactl/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}.patch
}
src_compile() {
cd src
emake || die "make failed"
}
src_install() {
cd src
dosbin megactl megasasctl megatrace
dodoc megarpt megasasrpt README
}
|