summaryrefslogtreecommitdiff
blob: c6a227cdc16c5f7740f144341caa2cc3801ab0a2 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-block/cec/cec-8.ebuild,v 1.3 2008/02/03 20:58:03 caleb Exp $

DESCRIPTION="Coraid Ethernet Console client"
HOMEPAGE="http://sf.net/projects/aoetools/"
SRC_URI="mirror://sourceforge/aoetools/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="virtual/libc"
RDEPEND="${DEPEND}
		sys-apps/util-linux"

src_unpack() {
	unpack ${A}
	cd "${S}"
}
src_compile() {
	emake -f makefile || die "emake failed"
}

src_install() {
	dodir /usr/sbin
	cp "${S}"/cec "${D}"/usr/sbin

	doman cec.8
}