blob: 5261ea117a3e472ce281a77835235c44953e43c0 (
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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/lsscsi/lsscsi-0.14.ebuild,v 1.2 2004/12/31 00:46:44 kloeri Exp $
inherit toolchain-funcs
DESCRIPTION="SCSI sysfs query tool"
HOMEPAGE="http://www.torque.net/scsi/lsscsi.html"
SRC_URI="http://www.torque.net/scsi/lsscsi-${PV}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~alpha"
IUSE=""
DEPEND=">=sys-fs/sysfsutils-1.2.0"
src_compile() {
emake \
CFLAGS="${CFLAGS}" \
CC="$(tc-getCC)" \
LD="$(tc-getCC)" \
|| die "emake failed"
}
src_install() {
dobin lsscsi || die "dobin failed"
doman lsscsi.8
dodoc CHANGELOG README
}
|