summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-01-28 18:18:15 +0000
committerChristian Heim <phreak@gentoo.org>2007-01-28 18:18:15 +0000
commitcfd14f4e9f1b1d702f77a714a0f45620c8f07d75 (patch)
tree17df315e847dba9192bb8da74fa741e10fdc4b79 /sys-apps/lm_sensors-modules
parentUpdate msg. (diff)
downloadhistorical-cfd14f4e9f1b1d702f77a714a0f45620c8f07d75.tar.gz
historical-cfd14f4e9f1b1d702f77a714a0f45620c8f07d75.tar.bz2
historical-cfd14f4e9f1b1d702f77a714a0f45620c8f07d75.zip
Version bump (should have been bumped some time ago, when I bumped sys-apps/lm_sensors), thanks to David Turner <dgturner at iee.org> in #161851.
Package-Manager: portage-2.1.2-r4
Diffstat (limited to 'sys-apps/lm_sensors-modules')
-rw-r--r--sys-apps/lm_sensors-modules/ChangeLog14
-rw-r--r--sys-apps/lm_sensors-modules/Manifest32
-rw-r--r--sys-apps/lm_sensors-modules/files/digest-lm_sensors-modules-2.10.13
-rw-r--r--sys-apps/lm_sensors-modules/files/lm_sensors-2.10.1-module-path.patch70
-rw-r--r--sys-apps/lm_sensors-modules/files/lm_sensors-2.10.1-modules-only.patch12
-rw-r--r--sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.1.ebuild63
6 files changed, 184 insertions, 10 deletions
diff --git a/sys-apps/lm_sensors-modules/ChangeLog b/sys-apps/lm_sensors-modules/ChangeLog
index 5b36d3872e2f..103466088451 100644
--- a/sys-apps/lm_sensors-modules/ChangeLog
+++ b/sys-apps/lm_sensors-modules/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for sys-apps/lm_sensors-modules
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors-modules/ChangeLog,v 1.10 2006/07/13 18:44:05 phreak Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors-modules/ChangeLog,v 1.11 2007/01/28 18:18:15 phreak Exp $
+
+*lm_sensors-modules-2.10.1 (28 Jan 2007)
+
+ 28 Jan 2007; Christian Heim <phreak@gentoo.org>
+ +files/lm_sensors-2.10.1-module-path.patch,
+ +files/lm_sensors-2.10.1-modules-only.patch,
+ +lm_sensors-modules-2.10.1.ebuild:
+ Version bump (should have been bumped some time ago, when I bumped
+ sys-apps/lm_sensors), thanks to David Turner <dgturner at iee.org> in
+ #161851.
13 Jul 2006; Christian Heim <phreak@gentoo.org> metadata.xml,
lm_sensors-modules-2.9.2.ebuild, lm_sensors-modules-2.10.0.ebuild:
diff --git a/sys-apps/lm_sensors-modules/Manifest b/sys-apps/lm_sensors-modules/Manifest
index 51fad3ae4019..54116e2d22e7 100644
--- a/sys-apps/lm_sensors-modules/Manifest
+++ b/sys-apps/lm_sensors-modules/Manifest
@@ -9,6 +9,14 @@ AUX lm_sensors-2.10.0-modules-only.patch 520 RMD160 e745d7232d8804fb162af4e12264
MD5 5bf46689981f45a6493a963432533047 files/lm_sensors-2.10.0-modules-only.patch 520
RMD160 e745d7232d8804fb162af4e122642e09a675830e files/lm_sensors-2.10.0-modules-only.patch 520
SHA256 125a98887aa1ce29dbe6ceedf5173fb43d472123f35484451ea12669237b63a9 files/lm_sensors-2.10.0-modules-only.patch 520
+AUX lm_sensors-2.10.1-module-path.patch 4246 RMD160 b303c54f8924ba0055f2e94fb496ef525a4755ab SHA1 ae68951a5f2e8063510fb9e6ceefb192350b5f1f SHA256 86f4f31b4cb2c469e0cced127da636e40a2b46c82a32fcabaa04c5adc015d34f
+MD5 992b92879dfbede3af03aa6df9694e7c files/lm_sensors-2.10.1-module-path.patch 4246
+RMD160 b303c54f8924ba0055f2e94fb496ef525a4755ab files/lm_sensors-2.10.1-module-path.patch 4246
+SHA256 86f4f31b4cb2c469e0cced127da636e40a2b46c82a32fcabaa04c5adc015d34f files/lm_sensors-2.10.1-module-path.patch 4246
+AUX lm_sensors-2.10.1-modules-only.patch 520 RMD160 e745d7232d8804fb162af4e122642e09a675830e SHA1 f590bd4f30af40415a3d6dcceaf6a4f3b32cde72 SHA256 125a98887aa1ce29dbe6ceedf5173fb43d472123f35484451ea12669237b63a9
+MD5 5bf46689981f45a6493a963432533047 files/lm_sensors-2.10.1-modules-only.patch 520
+RMD160 e745d7232d8804fb162af4e122642e09a675830e files/lm_sensors-2.10.1-modules-only.patch 520
+SHA256 125a98887aa1ce29dbe6ceedf5173fb43d472123f35484451ea12669237b63a9 files/lm_sensors-2.10.1-modules-only.patch 520
AUX lm_sensors-2.9.2-module-path.patch 4167 RMD160 c892502a43837ccbb7ff6a85aa5093c1d0a0ca32 SHA1 dc54ef1c4b87fd5d7a8f4cf38fb80719047e8ec7 SHA256 2891af95b252eb6d5c78997b5020dae608d8a38b570142dbebb0d068c0b1258b
MD5 c8107273b4ca9fd900d92782882c4b9d files/lm_sensors-2.9.2-module-path.patch 4167
RMD160 c892502a43837ccbb7ff6a85aa5093c1d0a0ca32 files/lm_sensors-2.9.2-module-path.patch 4167
@@ -18,19 +26,24 @@ MD5 3588d17a38ada4fb0b52694bf5cdfa1b files/lm_sensors-2.9.2-modules-only.patch 4
RMD160 06d6c20da962dc9ac609d0ad384d44874081cef7 files/lm_sensors-2.9.2-modules-only.patch 462
SHA256 cc3fd435aedac863d67e92a2bc7084ffa94653d4782ab331ecdada3bb05f62bf files/lm_sensors-2.9.2-modules-only.patch 462
DIST lm_sensors-2.10.0.tar.gz 879631 RMD160 8bb5dd4fbb9b7fba2f60f8a8d00d7b54231ddf37 SHA1 bb45194eebfdc92cf233b7cfe24196cbad6ee721 SHA256 e2fe2c79dc1f219ae85606ad1e556edcd2e55adbabf8bb45dc3c11c00503050d
+DIST lm_sensors-2.10.1.tar.gz 909117 RMD160 46e13ed34cd658a894c2acbae31b436b293cfcda SHA1 c7477d83a8e0e7280a8b7c73d4fc7fbf0c0521a4 SHA256 a332cacfa9d0eed6e9158c394db714e536f38c27451d7df08b9634952118fa1b
DIST lm_sensors-2.9.2.tar.gz 860624 RMD160 1facd2f05ab31d819b12da73067952d74496fbcb SHA1 849f21d94e81dca5ff67191ef2f33b937b1aebbd SHA256 e40573335a895c88bdc040126fd6bb73199bef0169b2b88c6a1ef916c03803c7
EBUILD lm_sensors-modules-2.10.0.ebuild 1622 RMD160 04d996e476d365f7a417b622d781ce992e363b8f SHA1 1e7e3591d80c583694339f6645ba1c6a1a3f9ef8 SHA256 7b81bae2a6dd9c2105958d864931e157ba6dc3106b68de0729f29fea44c399dd
MD5 ade87f659636e011fec5ec6120f364c8 lm_sensors-modules-2.10.0.ebuild 1622
RMD160 04d996e476d365f7a417b622d781ce992e363b8f lm_sensors-modules-2.10.0.ebuild 1622
SHA256 7b81bae2a6dd9c2105958d864931e157ba6dc3106b68de0729f29fea44c399dd lm_sensors-modules-2.10.0.ebuild 1622
+EBUILD lm_sensors-modules-2.10.1.ebuild 1623 RMD160 7f6353b543c4ba788c0c061a7f35cb2893c542cb SHA1 fc7f8d6710386c902db5b987d9ec56a0a133c74e SHA256 b9a95d67f703a96cea774dd74363d36a2f2de27063a3c82291484ec7c6b9e728
+MD5 144cd58a76ab78ffa6e052b892789fe1 lm_sensors-modules-2.10.1.ebuild 1623
+RMD160 7f6353b543c4ba788c0c061a7f35cb2893c542cb lm_sensors-modules-2.10.1.ebuild 1623
+SHA256 b9a95d67f703a96cea774dd74363d36a2f2de27063a3c82291484ec7c6b9e728 lm_sensors-modules-2.10.1.ebuild 1623
EBUILD lm_sensors-modules-2.9.2.ebuild 1621 RMD160 2c637ff99353cef53d7c996061d803367a6c9880 SHA1 85f66e5529cb66ec0bead76fb4075c30e1d6cd50 SHA256 4b6ee65ea49d415a65851bc130e74ddae5f16730e40abf9a4e47c7898dafafea
MD5 2eccfe41872827c935a7ff2aa26adea7 lm_sensors-modules-2.9.2.ebuild 1621
RMD160 2c637ff99353cef53d7c996061d803367a6c9880 lm_sensors-modules-2.9.2.ebuild 1621
SHA256 4b6ee65ea49d415a65851bc130e74ddae5f16730e40abf9a4e47c7898dafafea lm_sensors-modules-2.9.2.ebuild 1621
-MISC ChangeLog 2001 RMD160 877413ea714a4873c96e9aae2bd425ca7ddb37e1 SHA1 9e91910d36cb690a1216bef30f424299369d4924 SHA256 d7fb4e433d3d1e04463d2ce4c79994964d93ac3fa283770d7693cb3dadb9b20a
-MD5 f410b07614377dd97aff0bc839df0a80 ChangeLog 2001
-RMD160 877413ea714a4873c96e9aae2bd425ca7ddb37e1 ChangeLog 2001
-SHA256 d7fb4e433d3d1e04463d2ce4c79994964d93ac3fa283770d7693cb3dadb9b20a ChangeLog 2001
+MISC ChangeLog 2376 RMD160 5da32a3fc27f708eebfaef03b757ff25ab8382f2 SHA1 dff9d5e4af9f7a3dd508c8648eba2df57432fc5b SHA256 7392dd4cdabff05c80ba091865e2dfeb8a78c31979df105622aba3893fc2026a
+MD5 d8f262a2403cdc16b4e96a5613d8ef61 ChangeLog 2376
+RMD160 5da32a3fc27f708eebfaef03b757ff25ab8382f2 ChangeLog 2376
+SHA256 7392dd4cdabff05c80ba091865e2dfeb8a78c31979df105622aba3893fc2026a ChangeLog 2376
MISC metadata.xml 254 RMD160 2e69b345a5604844f1c5a8256ea172c7a3cc485f SHA1 653c702fdb89577e9d15e9cbca3891e4acdba061 SHA256 9bffc4ff1cf574848699e33b09ff0f6137d6b64b69d82c7b95cafb32ee75becb
MD5 f3e68295a919220f58e91a1d3468c851 metadata.xml 254
RMD160 2e69b345a5604844f1c5a8256ea172c7a3cc485f metadata.xml 254
@@ -38,13 +51,16 @@ SHA256 9bffc4ff1cf574848699e33b09ff0f6137d6b64b69d82c7b95cafb32ee75becb metadata
MD5 c049c65d0e7a0c29752c295fdd1f1972 files/digest-lm_sensors-modules-2.10.0 253
RMD160 ccc9d585517326653d39c0e626af336c8cff269b files/digest-lm_sensors-modules-2.10.0 253
SHA256 64630ede6a432e80c2386c37675ba5463212430f53041e071957f2b20ba01a9b files/digest-lm_sensors-modules-2.10.0 253
+MD5 c8e7113325cdf087821aab419adcce6f files/digest-lm_sensors-modules-2.10.1 253
+RMD160 211da829e5f5457adbccbbad02531941f7516730 files/digest-lm_sensors-modules-2.10.1 253
+SHA256 49149521ca8b84f37f8004776b9d2d0136e17d3bfeb9d6509f3d18e9a05c1e6d files/digest-lm_sensors-modules-2.10.1 253
MD5 d569a1b2682fe1fe3ca977f6017f712c files/digest-lm_sensors-modules-2.9.2 250
RMD160 0370575f9c4aa29ef313ec05929caad61c7b7caa files/digest-lm_sensors-modules-2.9.2 250
SHA256 e5acc8f4b135fb18ef10fb67cf04b3aabcf000cd4358fa3cb3bd51ea743ee3a6 files/digest-lm_sensors-modules-2.9.2 250
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.4 (GNU/Linux)
+Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFEtpSFflZ8QqxhrsMRAiZ6AKC/rJF3SYU+oy+EDiUL4SuJd9O0BQCgzq6b
-YbY0zbp/Xwti8hJRe873aFY=
-=WkdA
+iD8DBQFFvOjoyuNVb5qfaOYRAqveAJ0QThWrF5GbmO+sh0h335sj0MzhxQCgpykR
+BkgkAIxU6Av3AKqTEjMljc4=
+=D3XQ
-----END PGP SIGNATURE-----
diff --git a/sys-apps/lm_sensors-modules/files/digest-lm_sensors-modules-2.10.1 b/sys-apps/lm_sensors-modules/files/digest-lm_sensors-modules-2.10.1
new file mode 100644
index 000000000000..603d08c20e20
--- /dev/null
+++ b/sys-apps/lm_sensors-modules/files/digest-lm_sensors-modules-2.10.1
@@ -0,0 +1,3 @@
+MD5 cdc857b78e813b88cbf8be92441aa299 lm_sensors-2.10.1.tar.gz 909117
+RMD160 46e13ed34cd658a894c2acbae31b436b293cfcda lm_sensors-2.10.1.tar.gz 909117
+SHA256 a332cacfa9d0eed6e9158c394db714e536f38c27451d7df08b9634952118fa1b lm_sensors-2.10.1.tar.gz 909117
diff --git a/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.1-module-path.patch b/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.1-module-path.patch
new file mode 100644
index 000000000000..ce1aa30a9f86
--- /dev/null
+++ b/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.1-module-path.patch
@@ -0,0 +1,70 @@
+diff -urp lm_sensors-2.10.0/kernel/busses/Module.mk lm_sensors-2.10.0-module-path/kernel/busses/Module.mk
+--- lm_sensors-2.10.0/kernel/busses/Module.mk 2005-04-14 17:24:28.000000000 +0200
++++ lm_sensors-2.10.0-module-path/kernel/busses/Module.mk 2006-02-15 17:59:38.000000000 +0100
+@@ -108,16 +108,16 @@ all :: all-kernel-busses
+
+ #
+ # 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/busses and remove old versions in misc/
+-# and kernel/drivers/i2c/ . Otherwise we install in misc/ as before.
++# layout, so we install in drivers/i2c/busses and remove old versions in misc/
++# and drivers/i2c/ . Otherwise we install in misc/ as before.
+ #
+ install-kernel-busses: all-kernel-busses
+ if [ -n "$(KERNELBUSSESTARGETS)" ] ; then \
+- $(MKDIR) $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/busses ; \
+- $(INSTALL) -m 644 $(KERNELBUSSESTARGETS) $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/busses ; \
++ $(MKDIR) $(DESTDIR)$(MODPREF)/drivers/i2c/busses ; \
++ $(INSTALL) -m 644 $(KERNELBUSSESTARGETS) $(DESTDIR)$(MODPREF)/drivers/i2c/busses ; \
+ for i in $(KERNELBUSSESTARGETS) ; do \
+- $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/`basename $$i` \
+- $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/`basename $$i`.gz $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/busses/`basename $$i`.gz ; \
++ $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/drivers/i2c/`basename $$i` \
++ $(DESTDIR)$(MODPREF)/drivers/i2c/`basename $$i`.gz $(DESTDIR)$(MODPREF)/drivers/i2c/busses/`basename $$i`.gz ; \
+ done ; \
+ $(RMDIR) $(DESTDIR)$(MODPREF)/misc 2> /dev/null || true ; \
+ fi
+diff -urp lm_sensors-2.10.0/kernel/chips/Module.mk lm_sensors-2.10.0-module-path/kernel/chips/Module.mk
+--- lm_sensors-2.10.0/kernel/chips/Module.mk 2006-02-15 02:46:47.000000000 +0100
++++ lm_sensors-2.10.0-module-path/kernel/chips/Module.mk 2006-02-15 17:59:38.000000000 +0100
+@@ -191,13 +191,13 @@ all :: all-kernel-chips
+
+ #
+ # 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/chips/ and remove old versions in misc/
++# layout, so we install in drivers/i2c/chips/ and remove old versions in misc/
+ # and kernel/drivers/sensors/ . Otherwise we install in misc/ as before.
+ #
+ install-kernel-chips: all-kernel-chips
+ if [ -n "$(KERNELCHIPSTARGETS)" ] ; then \
+- $(MKDIR) $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/chips ; \
+- $(INSTALL) -m 644 $(KERNELCHIPSTARGETS) $(DESTDIR)$(MODPREF)/kernel/drivers/i2c/chips ; \
++ $(MKDIR) $(DESTDIR)$(MODPREF)/drivers/i2c/chips ; \
++ $(INSTALL) -m 644 $(KERNELCHIPSTARGETS) $(DESTDIR)$(MODPREF)/drivers/i2c/chips ; \
+ for i in $(KERNELCHIPSTARGETS) ; do \
+ $(RM) $(DESTDIR)$(MODPREF)/misc/`basename $$i` $(DESTDIR)$(MODPREF)/kernel/drivers/sensors/`basename $$i` \
+ $(DESTDIR)$(MODPREF)/kernel/drivers/sensors/`basename $$i`.gz $(DESTDIR)$(MODPREF)/kernel/drivers/chips/`basename $$i`.gz ; \
+Only in lm_sensors-2.10.0-module-path/kernel/chips: Module.mk.orig
+diff -urp lm_sensors-2.10.0/prog/hotplug/Makefile.p4b lm_sensors-2.10.0-module-path/prog/hotplug/Makefile.p4b
+--- lm_sensors-2.10.0/prog/hotplug/Makefile.p4b 2003-05-31 19:30:47.000000000 +0200
++++ lm_sensors-2.10.0-module-path/prog/hotplug/Makefile.p4b 2006-02-15 17:59:38.000000000 +0100
+@@ -44,15 +44,15 @@ OBJS = p4b_smbus.o
+ all: $(OBJS)
+
+ install: all
+- install -d /lib/modules/$(KERNELVERSION)/kernel/drivers/i2c/busses
+- install -c p4b_smbus.o /lib/modules/$(KERNELVERSION)/kernel/drivers/i2c/busses
++ install -d /lib/modules/$(KERNELVERSION)/drivers/i2c/busses
++ install -c p4b_smbus.o /lib/modules/$(KERNELVERSION)/drivers/i2c/busses
+ # test ! -x /dev/watchdog || mknod -m 600 /dev/watchdog c 10 130
+ # test ! -x /dev/temperature || mknod -m 600 /dev/temperature c 10 131
+
+ inst: all
+ rmmod p4b_smbus
+- install -d /lib/modules/$(KERNELVERSION)/kernel/drivers/i2c/busses
+- install -c p4b_smbus.o /lib/modules/$(KERNEL)/kernel/drivers/i2c/busses
++ install -d /lib/modules/$(KERNELVERSION)/drivers/i2c/busses
++ install -c p4b_smbus.o /lib/modules/$(KERNEL)/drivers/i2c/busses
+ depmod -a
+ # modprobe p4b_smbus
+
diff --git a/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.1-modules-only.patch b/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.1-modules-only.patch
new file mode 100644
index 000000000000..563bd600244b
--- /dev/null
+++ b/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.1-modules-only.patch
@@ -0,0 +1,12 @@
+diff -urp lm_sensors-2.10.0/Makefile lm_sensors-2.10.0-modules-only/Makefile
+--- lm_sensors-2.10.0/Makefile 2006-02-15 02:46:46.000000000 +0100
++++ lm_sensors-2.10.0-modules-only/Makefile 2006-02-15 18:01:09.000000000 +0100
+@@ -287,6 +287,7 @@ all::
+
+ # Include all makefiles for sub-modules
+ INCLUDEFILES :=
++SRCDIRS=kernel kernel/busses kernel/chips
+ include $(patsubst %,%/Module.mk,$(SRCDIRS))
+ ifneq ($(MAKECMDGOALS),clean)
+ ifneq ($(MAKECMDGOALS),uninstall)
+Only in lm_sensors-2.10.0-modules-only: Makefile.orig
diff --git a/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.1.ebuild b/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.1.ebuild
new file mode 100644
index 000000000000..83a474f696c3
--- /dev/null
+++ b/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.1.ebuild,v 1.1 2007/01/28 18:18:15 phreak Exp $
+
+inherit eutils toolchain-funcs linux-info
+
+MY_P=${P/-modules/}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Hardware Monitoring kernel modules for linux-2.4.x"
+HOMEPAGE="http://www.lm-sensors.org/"
+SRC_URI="http://dl.lm-sensors.org/lm-sensors/releases/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-amd64 -ppc ~x86"
+
+IUSE=""
+DEPEND="sys-apps/i2c"
+
+pkg_setup() {
+ linux-info_pkg_setup
+
+ if kernel_is lt 2 4 10; then
+ eerror "${P} requires kernel 2.4.10 or later"
+ die "${P} requires kernel 2.4.10 or later"
+ fi
+
+ if kernel_is gt 2 4; then
+ eerror "${P} 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 "${P} requires kernel CONFIG_I2C to be disabled."
+ die "Kernel with CONFIG_I2C detected"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${MY_P}-module-path.patch
+ epatch "${FILESDIR}"/${MY_P}-modules-only.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} I2C_HEADERS=${KV_DIR}/include \
+ || die "emake failed"
+}
+
+src_install() {
+ emake CC=$(tc-getCC) \
+ LINUX=${KV_DIR} MODPREF=/lib/modules/${KV_FULL} DESTDIR="${D}" install \
+ || die "emake install failed"
+}