blob: 930445bb6476ddeccc12ff02427b49a7a2200bd2 (
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-2005 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.5 2005/10/01 23:43:25 weeve 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="alpha amd64 hppa ~ppc ~sparc x86"
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
}
|