An ebuild for lm_sensors-2.6.2. Note: This also requires an new version of the sensors-detect script to correctly detect the required modules. The new script is available at: http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/prog/detect/sensors-detect I do not know how to include this in the .ebuild The new script should be placed in the following directory of the unpacked source (overwriting the one that will be in there): ${WORKDIR}/{$A}/prog/detect
Created attachment 263 [details] lm_sensors-2.6.2 ebuild
Fixed! Attached ebuild below fixes sensors-detect script problem I was having. Updated script is now installed. Thanks to woodchip (via IRC)
Since bugzilla doesn't want to take the file from Konq: -- Begin Cut Here -- # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: First Last <your email> # Author: The Lm_sensors Group <sensors@stimpy.netroedge.com> # $Header: /home/cvsroot/gentoo-x86/skel.ebuild,v 1.3 2002/02/04 15:46:51 gbevin Exp $ S=${WORKDIR}/${P} DESCRIPTION="lm_sensos for temperature and voltage monitoring" SRC_URI="http://www.lm-sensors.nu/archive/${P}.tar.gz http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/prog/detect/sensors-detect" HOMEPAGE="http://www.netroedge.com/~lm78/" DEPEND=">=sys-kernel/linux-sources-2.4.13 =sys-apps/i2c-2.6.2" src_unpack () { unpack ${P}.tar.gz cp ${DISTDIR}/sensors-detect ${S}/prog/detect/ } src_compile() { emake || die } src_install () { make DESTDIR=${D} install || die } pkg_postinst () { depmod -a || die ldconfig || die einfo "********************************************************" einfo "" einfo "You need to run /usr/local/sbin/sensors-detect to probe your" einfo "system and choose the right modules." einfo "" einfo "********************************************************" } -- End Cut Here --
*** Bug 1268 has been marked as a duplicate of this bug. ***
The latest lm_sensors is 2.6.3, updating the ebuild will need this: --- lm_sensors-2.6.2.ebuild Tue Mar 19 18:14:24 2002 +++ lm_sensors-2.6.3.ebuild Thu Apr 18 13:51:03 2002 @@ -9,16 +9,14 @@ DESCRIPTION="lm_sensos for temperature and voltage monitoring" -SRC_URI="http://www.lm-sensors.nu/archive/${P}.tar.gz -http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/prog/detect/sensors-detect" +SRC_URI="http://www.lm-sensors.nu/archive/${P}.tar.gz" HOMEPAGE="http://www.netroedge.com/~lm78/" -DEPEND=">=sys-kernel/linux-sources-2.4.17 =sys-apps/i2c-2.6.2" +DEPEND=">=sys-kernel/linux-sources-2.4.17 =sys-apps/i2c-2.6.3" src_unpack () { unpack ${P}.tar.gz - cp ${DISTDIR}/sensors-detect ${S}/prog/detect/ } src_compile() {
why are we depending on i2c, the kernel i2c works fine and simplifies the process immensely... ???
updated to use the virtual kernel depend and not be have a silly bunch of extra code (actually this is based on my previous ebuild but they are very similar) http://www.lostlogicx.com/ebuilds/lm_sensors-2.6.3.tar.gz
Checked in as sys-apps/lm_sensors Sorry for the delay