diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-01-07 20:44:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-01-07 20:44:42 +0000 |
commit | dbe2fa8b5a0a89ab5dffcaf631b74d59b230f20d (patch) | |
tree | c4d414968fd46a2a919827283855950dd0856710 /sys-apps | |
parent | old (diff) | |
download | gentoo-2-dbe2fa8b5a0a89ab5dffcaf631b74d59b230f20d.tar.gz gentoo-2-dbe2fa8b5a0a89ab5dffcaf631b74d59b230f20d.tar.bz2 gentoo-2-dbe2fa8b5a0a89ab5dffcaf631b74d59b230f20d.zip |
Version bump.
(Portage version: 2.2.0_alpha13/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/i2c-tools/ChangeLog | 9 | ||||
-rw-r--r-- | sys-apps/i2c-tools/i2c-tools-3.0.3.ebuild | 43 |
2 files changed, 50 insertions, 2 deletions
diff --git a/sys-apps/i2c-tools/ChangeLog b/sys-apps/i2c-tools/ChangeLog index 8bdaa78222e8..e7c1d0c8aa4f 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-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c-tools/ChangeLog,v 1.10 2009/06/10 20:26:41 maekke Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c-tools/ChangeLog,v 1.11 2011/01/07 20:44:42 vapier Exp $ + +*i2c-tools-3.0.3 (07 Jan 2011) + + 07 Jan 2011; Mike Frysinger <vapier@gentoo.org> +i2c-tools-3.0.3.ebuild: + Version bump. 10 Jun 2009; Markus Meier <maekke@gentoo.org> i2c-tools-3.0.2.ebuild: amd64/x86 stable, bug #273049 diff --git a/sys-apps/i2c-tools/i2c-tools-3.0.3.ebuild b/sys-apps/i2c-tools/i2c-tools-3.0.3.ebuild new file mode 100644 index 000000000000..5048281bc281 --- /dev/null +++ b/sys-apps/i2c-tools/i2c-tools-3.0.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 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.3.ebuild,v 1.1 2011/01/07 20:44:42 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 ~arm ~x86" +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 +} |