blob: 8498503a93745478cd73e41d286ea87673205dca (
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-apps/i2c-tools/i2c-tools-3.0.1.ebuild,v 1.3 2008/04/07 02:17:27 vapier Exp $
inherit toolchain-funcs
DESCRIPTION="I2C tools for bus probing, chip dumping, register-level access helpers, EEPROM decoding scripts, and more"
HOMEPAGE="http://www.lm-sensors.org/wiki/I2CTools"
SRC_URI="http://dl.lm-sensors.org/i2c-tools/releases/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="<sys-apps/lm_sensors-3"
src_compile() {
emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" || die
}
src_install() {
emake install prefix="${D}"/usr || die
dodoc CHANGES README
local d
for d in eeprom eepromer py-smbus ; do
docinto ${d}
dodoc ${d}/README*
done
}
|