diff options
author | Henrik Brix Andersen <brix@gentoo.org> | 2006-02-01 16:56:42 +0000 |
---|---|---|
committer | Henrik Brix Andersen <brix@gentoo.org> | 2006-02-01 16:56:42 +0000 |
commit | 4fdadef8b41ccfc87fe69d22daeb239738c46a92 (patch) | |
tree | 943737d30e6aa669f3376b07ce5388ed54508707 /sys-apps/i2c | |
parent | Stable on x86. (diff) | |
download | gentoo-2-4fdadef8b41ccfc87fe69d22daeb239738c46a92.tar.gz gentoo-2-4fdadef8b41ccfc87fe69d22daeb239738c46a92.tar.bz2 gentoo-2-4fdadef8b41ccfc87fe69d22daeb239738c46a92.zip |
Pruned old ebuild.
(Portage version: 2.0.54)
Diffstat (limited to 'sys-apps/i2c')
-rw-r--r-- | sys-apps/i2c/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/i2c/files/digest-i2c-2.9.1 | 1 | ||||
-rw-r--r-- | sys-apps/i2c/files/i2c-2.9.1-module-path.patch | 27 | ||||
-rw-r--r-- | sys-apps/i2c/i2c-2.9.1.ebuild | 68 |
4 files changed, 6 insertions, 98 deletions
diff --git a/sys-apps/i2c/ChangeLog b/sys-apps/i2c/ChangeLog index 0b38b9dfdd4b..fbbfff861fb7 100644 --- a/sys-apps/i2c/ChangeLog +++ b/sys-apps/i2c/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/i2c -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/ChangeLog,v 1.43 2005/12/14 18:40:12 brix Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/ChangeLog,v 1.44 2006/02/01 16:56:42 brix Exp $ + + 01 Feb 2006; Henrik Brix Andersen <brix@gentoo.org> + -files/i2c-2.9.1-module-path.patch, -i2c-2.9.1.ebuild: + Pruned old ebuild. 14 Dec 2005; Henrik Brix Andersen <brix@gentoo.org> -files/i2c-2.8.0-alphaCompile.patch, -files/i2c-2.9.0.fix.patch, diff --git a/sys-apps/i2c/files/digest-i2c-2.9.1 b/sys-apps/i2c/files/digest-i2c-2.9.1 deleted file mode 100644 index 3130cb56ca82..000000000000 --- a/sys-apps/i2c/files/digest-i2c-2.9.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 eb3d1df2d3b46f199af2485db612c76d i2c-2.9.1.tar.gz 142961 diff --git a/sys-apps/i2c/files/i2c-2.9.1-module-path.patch b/sys-apps/i2c/files/i2c-2.9.1-module-path.patch deleted file mode 100644 index 60443dffd021..000000000000 --- a/sys-apps/i2c/files/i2c-2.9.1-module-path.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -urp i2c-2.9.1/kernel/Module.mk i2c-2.9.1-module-path/kernel/Module.mk ---- i2c-2.9.1/kernel/Module.mk 2005-01-03 18:21:07.000000000 +0100 -+++ i2c-2.9.1-module-path/kernel/Module.mk 2005-06-04 15:09:16.000000000 +0200 -@@ -96,18 +96,18 @@ all :: all-kernel - - # - # If $MODPREF/kernel exists, we presume the new (2.4.0) /lib/modules/x.y.z directory --# layout, so we install in kernel/drivers/i2c/ and remove old versions in misc/ -+# layout, so we install in drivers/i2c/ and remove old versions in misc/ - # Otherwise we install in misc/ as before. - # - install-kernel: all-kernel - if [ -n "$(KERNELTARGETS)" ] ; then \ -- $(MKDIR) $(DESTDIR)$(MODPREF)/kernel/drivers/i2c ; \ -- $(INSTALL) -m 644 $(KERNELTARGETS) $(DESTDIR)$(MODPREF)/kernel/drivers/i2c ; \ -+ $(MKDIR) $(DESTDIR)$(MODPREF)/drivers/i2c ; \ -+ $(INSTALL) -m 644 $(KERNELTARGETS) $(DESTDIR)$(MODPREF)/drivers/i2c ; \ - for i in $(KERNELTARGETS) ; do \ -- $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/misc/`basename $$i`.gz $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/`basename $$i`.gz ; \ -+ $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/misc/`basename $$i`.gz $(DESTDIR)$(MODPREF)/drivers/i2c/`basename $$i`.gz ; \ - done ; \ - for i in i2c-elektor.o i2c-pcf-epp.o ; do \ -- $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/misc/`basename $$i`.gz $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/`basename $$i` $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/`basename $$i`.gz ; \ -+ $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/misc/`basename $$i`.gz $(DESTDIR)$(MODPREF)/drivers/i2c/`basename $$i` $(DESTDIR)$(MODPREF)/drivers/i2c/`basename $$i`.gz ; \ - done ; \ - $(RMDIR) $(DESTDIR)$(MODPREF)/misc 2> /dev/null || true ; \ - fi diff --git a/sys-apps/i2c/i2c-2.9.1.ebuild b/sys-apps/i2c/i2c-2.9.1.ebuild deleted file mode 100644 index b7b95fe57c60..000000000000 --- a/sys-apps/i2c/i2c-2.9.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.9.1.ebuild,v 1.6 2005/11/21 19:59:52 blubb Exp $ - -inherit eutils toolchain-funcs linux-info - -DESCRIPTION="I2C Bus support for 2.4.x kernels" -HOMEPAGE="http://www2.lm-sensors.nu/~lm78/" -SRC_URI="http://www2.lm-sensors.nu/~lm78/archive/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="-amd64 -ppc x86" - -IUSE="" - -pkg_setup() { - linux-info_pkg_setup - - if kernel_is lt 2 4 10; then - eerror "${PV} requires kernel 2.4.10 or later" - die "${PV} requires kernel 2.4.10 or later" - fi - - if kernel_is gt 2 4; then - eerror "${PV} is only needed for kernel 2.4.x" - eerror "You need to use the in-kernel I2C drivers for later kernels." - die "Non 2.4.x kernel detected" - fi - - if linux_chkconfig_present I2C; then - eerror "${PV} requires kernel CONFIG_I2C to be disabled." - die "Kernel with CONFIG_I2C detected" - fi -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-module-path.patch -} - -src_compile () { - einfo - einfo "You may safely ignore any errors from compilation" - einfo "that contain \"No such file or directory\" references." - einfo - - emake CC=$(tc-getCC) LINUX=${KV_DIR} || die "emake failed" -} - -src_install() { - einfo - einfo "This package will need to overwrite your kernel I2C headers." - einfo "If this fails, please emerge with FEATURES=\"-collision-protect\"" - einfo - ebeep 5 - - emake CC=$(tc-getCC) \ - LINUX=${KV_DIR} LINUX_INCLUDE_DIR=${KV_DIR}/include/linux MODPREF=/lib/modules/${KV_FULL} \ - DESTDIR=${D} PREFIX=/usr MANDIR=/usr/share/man install \ - || die "emake install failed" - - dodoc CHANGES README TODO - - dodoc doc/* -} |