Summary: | lm_sensors-2.6.2 ebuild | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Troy Dack <troy> |
Component: | New packages | Assignee: | Bruce A. Locke (RETIRED) <blocke> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | lostlogic |
Priority: | High | ||
Version: | 1.0 RC6 r14 | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://www.netroedge.com/~lm78 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 902 | ||
Bug Blocks: | |||
Attachments: | lm_sensors-2.6.2 ebuild |
Description
Troy Dack
2002-02-28 23:50:57 UTC
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 |