blob: d4d370f1493fdaa209515a0a900349132f51df89 (
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.1 2008/02/10 20:35:58 wschlich Exp $
inherit eutils
IUSE=""
DESCRIPTION="LSI MegaRAID"
HOMEPAGE="http://sourceforge.net/projects/megactl/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~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
}
|