diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-01-14 16:19:33 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-01-14 16:19:33 +0000 |
commit | 8486bd838c92d1e8879a08fb61a1e0aacb0aa216 (patch) | |
tree | cc5f983de105de37bfc7f5d26c8f64fa876a18f2 /sys-apps/i2c-tools | |
parent | Drop KDE 4.1.2 and 4.1.3 (diff) | |
download | gentoo-2-8486bd838c92d1e8879a08fb61a1e0aacb0aa216.tar.gz gentoo-2-8486bd838c92d1e8879a08fb61a1e0aacb0aa216.tar.bz2 gentoo-2-8486bd838c92d1e8879a08fb61a1e0aacb0aa216.zip |
Version bump and add support for USE=python #246182 by Alex Guensche.
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'sys-apps/i2c-tools')
-rw-r--r-- | sys-apps/i2c-tools/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/i2c-tools/i2c-tools-3.0.2.ebuild | 43 |
2 files changed, 50 insertions, 2 deletions
diff --git a/sys-apps/i2c-tools/ChangeLog b/sys-apps/i2c-tools/ChangeLog index d0a7446bd1be..1c04e73a284d 100644 --- a/sys-apps/i2c-tools/ChangeLog +++ b/sys-apps/i2c-tools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/i2c-tools -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c-tools/ChangeLog,v 1.8 2008/05/09 21:37:12 solar Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c-tools/ChangeLog,v 1.9 2009/01/14 16:19:33 vapier Exp $ + +*i2c-tools-3.0.2 (14 Jan 2009) + + 14 Jan 2009; Mike Frysinger <vapier@gentoo.org> +i2c-tools-3.0.2.ebuild: + Version bump and add support for USE=python #246182 by Alex Guensche. 09 May 2008; <solar@gentoo.org> i2c-tools-3.0.1.ebuild: - keyworded for arm diff --git a/sys-apps/i2c-tools/i2c-tools-3.0.2.ebuild b/sys-apps/i2c-tools/i2c-tools-3.0.2.ebuild new file mode 100644 index 000000000000..655c95a61f4c --- /dev/null +++ b/sys-apps/i2c-tools/i2c-tools-3.0.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2009 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.2.ebuild,v 1.1 2009/01/14 16:19:33 vapier Exp $ + +inherit flag-o-matic toolchain-funcs distutils + +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 ~arm" +IUSE="python" + +DEPEND="!<sys-apps/lm_sensors-3" + +src_compile() { + emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" || die + if use python ; then + cd py-smbus + append-cppflags -I../include + distutils_src_compile + fi +} + +src_install() { + emake install prefix="${D}"/usr || die + rm -rf "${D}"/usr/include # part of linux-headers + dodoc CHANGES README + local d + for d in eeprom eepromer ; do + docinto ${d} + dodoc ${d}/README* + done + + if use python ; then + cd py-smbus + docinto py-smbus + dodoc README* + distutils_src_install + fi +} |