diff options
author | Christian Heim <phreak@gentoo.org> | 2007-05-17 07:49:09 +0000 |
---|---|---|
committer | Christian Heim <phreak@gentoo.org> | 2007-05-17 07:49:09 +0000 |
commit | 20a1596078f12f00953c13399ad92dc11b6c3960 (patch) | |
tree | 7fb70e14f17f78f92ae30a1c1206738c4290fc7c /sys-apps/lm_sensors-modules | |
parent | Assigning sys-apps/lm_sensors directly to mobile at gentoo.org. (diff) | |
download | gentoo-2-20a1596078f12f00953c13399ad92dc11b6c3960.tar.gz gentoo-2-20a1596078f12f00953c13399ad92dc11b6c3960.tar.bz2 gentoo-2-20a1596078f12f00953c13399ad92dc11b6c3960.zip |
Cleaning up FILESDIR.
(Portage version: 2.1.2.7)
Diffstat (limited to 'sys-apps/lm_sensors-modules')
-rw-r--r-- | sys-apps/lm_sensors-modules/ChangeLog | 14 | ||||
-rw-r--r-- | sys-apps/lm_sensors-modules/files/lm_sensors-2.10.1-module-path.patch | 70 | ||||
-rw-r--r-- | sys-apps/lm_sensors-modules/files/lm_sensors-2.10.1-modules-only.patch | 12 | ||||
-rw-r--r-- | sys-apps/lm_sensors-modules/files/lm_sensors-2.10.2-module-path.patch | 70 | ||||
-rw-r--r-- | sys-apps/lm_sensors-modules/files/lm_sensors-2.10.2-modules-only.patch | 12 | ||||
-rw-r--r-- | sys-apps/lm_sensors-modules/files/lm_sensors-module-path.patch (renamed from sys-apps/lm_sensors-modules/files/lm_sensors-2.10.0-module-path.patch) | 0 | ||||
-rw-r--r-- | sys-apps/lm_sensors-modules/files/lm_sensors-modules-only.patch (renamed from sys-apps/lm_sensors-modules/files/lm_sensors-2.10.0-modules-only.patch) | 0 | ||||
-rw-r--r-- | sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.0.ebuild | 14 | ||||
-rw-r--r-- | sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.1.ebuild | 12 | ||||
-rw-r--r-- | sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.2.ebuild | 12 |
10 files changed, 32 insertions, 184 deletions
diff --git a/sys-apps/lm_sensors-modules/ChangeLog b/sys-apps/lm_sensors-modules/ChangeLog index dfd7303566be..38e7e19a54ea 100644 --- a/sys-apps/lm_sensors-modules/ChangeLog +++ b/sys-apps/lm_sensors-modules/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for sys-apps/lm_sensors-modules # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors-modules/ChangeLog,v 1.12 2007/01/28 18:22:21 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors-modules/ChangeLog,v 1.13 2007/05/17 07:49:09 phreak Exp $ + + 17 May 2007; Christian Heim <phreak@gentoo.org> + -files/lm_sensors-2.10.0-module-path.patch, + -files/lm_sensors-2.10.0-modules-only.patch, + -files/lm_sensors-2.10.1-module-path.patch, + -files/lm_sensors-2.10.1-modules-only.patch, + -files/lm_sensors-2.10.2-module-path.patch, + -files/lm_sensors-2.10.2-modules-only.patch, + +files/lm_sensors-module-path.patch, +files/lm_sensors-modules-only.patch, + lm_sensors-modules-2.10.0.ebuild, lm_sensors-modules-2.10.1.ebuild, + lm_sensors-modules-2.10.2.ebuild: + Cleaning up FILESDIR. *lm_sensors-modules-2.10.2 (28 Jan 2007) 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 deleted file mode 100644 index ce1aa30a9f86..000000000000 --- a/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.1-module-path.patch +++ /dev/null @@ -1,70 +0,0 @@ -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 deleted file mode 100644 index 563bd600244b..000000000000 --- a/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.1-modules-only.patch +++ /dev/null @@ -1,12 +0,0 @@ -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/files/lm_sensors-2.10.2-module-path.patch b/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.2-module-path.patch deleted file mode 100644 index ce1aa30a9f86..000000000000 --- a/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.2-module-path.patch +++ /dev/null @@ -1,70 +0,0 @@ -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.2-modules-only.patch b/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.2-modules-only.patch deleted file mode 100644 index 563bd600244b..000000000000 --- a/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.2-modules-only.patch +++ /dev/null @@ -1,12 +0,0 @@ -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/files/lm_sensors-2.10.0-module-path.patch b/sys-apps/lm_sensors-modules/files/lm_sensors-module-path.patch index ce1aa30a9f86..ce1aa30a9f86 100644 --- a/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.0-module-path.patch +++ b/sys-apps/lm_sensors-modules/files/lm_sensors-module-path.patch diff --git a/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.0-modules-only.patch b/sys-apps/lm_sensors-modules/files/lm_sensors-modules-only.patch index 563bd600244b..563bd600244b 100644 --- a/sys-apps/lm_sensors-modules/files/lm_sensors-2.10.0-modules-only.patch +++ b/sys-apps/lm_sensors-modules/files/lm_sensors-modules-only.patch diff --git a/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.0.ebuild b/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.0.ebuild index 0d75cda03752..59738130e900 100644 --- a/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.0.ebuild +++ b/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.0.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2006 Gentoo Foundation +# 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.0.ebuild,v 1.3 2006/07/13 18:44:05 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.0.ebuild,v 1.4 2007/05/17 07:49:09 phreak Exp $ inherit eutils toolchain-funcs linux-info -MY_P=${P/-modules/} -S=${WORKDIR}/${MY_P} +MY_PN=${PN/-modules/} +S=${WORKDIR}/${MY_PN}-${PV} 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" +SRC_URI="http://dl.lm-sensors.org/lm-sensors/releases/${MY_PN}-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -42,8 +42,8 @@ src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}"/${MY_P}-module-path.patch - epatch "${FILESDIR}"/${MY_P}-modules-only.patch + epatch "${FILESDIR}"/${MY_PN}-module-path.patch + epatch "${FILESDIR}"/${MY_PN}-modules-only.patch } src_compile() { 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 index 83a474f696c3..f93f1bc366e5 100644 --- 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 @@ -1,15 +1,15 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.1.ebuild,v 1.2 2007/05/17 07:49:09 phreak Exp $ inherit eutils toolchain-funcs linux-info -MY_P=${P/-modules/} -S=${WORKDIR}/${MY_P} +MY_PN=${PN/-modules/} +S=${WORKDIR}/${MY_PN}-${PV} 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" +SRC_URI="http://dl.lm-sensors.org/lm-sensors/releases/${MY_PN}-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -42,8 +42,8 @@ src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}"/${MY_P}-module-path.patch - epatch "${FILESDIR}"/${MY_P}-modules-only.patch + epatch "${FILESDIR}"/${MY_PN}-module-path.patch + epatch "${FILESDIR}"/${MY_PN}-modules-only.patch } src_compile() { diff --git a/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.2.ebuild b/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.2.ebuild index ce9665b7191f..7986768cc300 100644 --- a/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.2.ebuild +++ b/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.2.ebuild @@ -1,15 +1,15 @@ # 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.2.ebuild,v 1.1 2007/01/28 18:22:21 phreak Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors-modules/lm_sensors-modules-2.10.2.ebuild,v 1.2 2007/05/17 07:49:09 phreak Exp $ inherit eutils toolchain-funcs linux-info -MY_P=${P/-modules/} -S=${WORKDIR}/${MY_P} +MY_PN=${PN/-modules/} +S=${WORKDIR}/${MY_PN}-${PV} 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" +SRC_URI="http://dl.lm-sensors.org/lm-sensors/releases/${MY_PN}-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -42,8 +42,8 @@ src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}"/${MY_P}-module-path.patch - epatch "${FILESDIR}"/${MY_P}-modules-only.patch + epatch "${FILESDIR}"/${MY_PN}-module-path.patch + epatch "${FILESDIR}"/${MY_PN}-modules-only.patch } src_compile() { |