version bump, not quite ready for the lm_sensors split yet
authorBrandon Low <lostlogic@gentoo.org>
Thu, 31 Oct 2002 05:33:00 +0000 (05:33 +0000)
committerBrandon Low <lostlogic@gentoo.org>
Thu, 31 Oct 2002 05:33:00 +0000 (05:33 +0000)
sys-apps/lm_sensors/ChangeLog
sys-apps/lm_sensors/files/digest-lm_sensors-2.6.5 [new file with mode: 0644]
sys-apps/lm_sensors/lm_sensors-2.6.5.ebuild [new file with mode: 0644]

index b2336a57a9e80d3b73223ee29d5efc07b727e50c..c1880e6e54af0f16c8b866ead1fdb934c32d723a 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sys-apps/lm_sensors
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v 1.8 2002/08/04 10:08:57 trance Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/ChangeLog,v 1.9 2002/10/31 05:33:00 lostlogic Exp $
+
+*lm_sensors-2.6.5 (30 Oct 2002)
+
+  30 Oct 2002; Kevyn Shortell <kevyn@gentoo.org> lm_sensors-2.6.5.ebuild :
+  Update to latest version.
 
 *lm_sensors-2.6.4-r1 (04 Aug 2002)
 
diff --git a/sys-apps/lm_sensors/files/digest-lm_sensors-2.6.5 b/sys-apps/lm_sensors/files/digest-lm_sensors-2.6.5
new file mode 100644 (file)
index 0000000..f86e14f
--- /dev/null
@@ -0,0 +1 @@
+MD5 297a3e6173562ff92bd7467f744125db lm_sensors-2.6.5.tar.gz 559880
diff --git a/sys-apps/lm_sensors/lm_sensors-2.6.5.ebuild b/sys-apps/lm_sensors/lm_sensors-2.6.5.ebuild
new file mode 100644 (file)
index 0000000..34d78ff
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/lm_sensors/lm_sensors-2.6.5.ebuild,v 1.1 2002/10/31 05:33:00 lostlogic Exp $
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="Hardware Sensors Monitoring by lm_sensors"
+SRC_URI="http://www2.lm-sensors.nu/~lm78/archive/${P}.tar.gz"
+HOMEPAGE="http://www2.lm-sensors.nu/~lm78"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+LICENSE="GPL-2"
+
+SLOT="0"
+
+DEPEND="virtual/linux-sources"
+
+src_compile()  {
+       emake clean all || die "lm_sensors requires the source of a compatible kernel\nversion installed in /usr/src/linux and i2c support built as a modules"
+}
+
+src_install() {
+       emake DESTDIR=${D} PREFIX=/usr MANDIR=/usr/share/man install \
+               || die "Install failed"
+       exeinto /etc/init.d
+       newexe ${FILESDIR}/rc_lm_sensors lm_sensors
+}
+
+pkg_postinst() {
+       [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
+
+       einfo
+       einfo "The lm_sensors hardware sensors package has been installed."
+       einfo
+       einfo "It is recommended that you read the lm_sensors documentation."
+       einfo "To enable lm_sensors you will need to compile i2c support in"
+       einfo "your kernel as a module and run /usr/sbin/sensors-detect to"
+       einfo "detect the hardware in your system."
+       einfo
+       einfo "Be warned, the probing of hardware in your system performed by"
+       einfo "sensors-detect could freeze your system.  Also do not use"
+       einfo "lm_sensors on certain laptop models from IBM.  See the lm_sensors"
+       einfo "documentation and website for more information."
+       einfo
+       einfo "IMPORTANT: When you merge this package it installs kernel modules"
+       einfo "that can only be used with the specific kernel version whose"
+       einfo "source is located in /usr/src/linux.  If you upgrade to a new"
+       einfo "kernel, you will need to remerge the lm_sensors package to build"
+       einfo "new kernel modules."
+       einfo
+}