diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-05-29 09:15:48 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-05-29 09:15:48 +0000 |
commit | a7e8f9025e8ca7ab6145193405c2303be04eb5d4 (patch) | |
tree | 94b688ae8065130ea453c54ccc190d1d034e74a8 /sys-apps/lm_sensors/lm_sensors-2.7.0.ebuild | |
parent | renamed (diff) | |
download | historical-a7e8f9025e8ca7ab6145193405c2303be04eb5d4.tar.gz historical-a7e8f9025e8ca7ab6145193405c2303be04eb5d4.tar.bz2 historical-a7e8f9025e8ca7ab6145193405c2303be04eb5d4.zip |
renamed
Diffstat (limited to 'sys-apps/lm_sensors/lm_sensors-2.7.0.ebuild')
-rw-r--r-- | sys-apps/lm_sensors/lm_sensors-2.7.0.ebuild | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/sys-apps/lm_sensors/lm_sensors-2.7.0.ebuild b/sys-apps/lm_sensors/lm_sensors-2.7.0.ebuild deleted file mode 100644 index 667b0712681c..000000000000 --- a/sys-apps/lm_sensors/lm_sensors-2.7.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2003 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.7.0.ebuild,v 1.9 2003/03/03 05:01:23 lostlogic Exp $ - -inherit flag-o-matic - -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" - -SLOT="0" -# gentoo-sources-2.4.20-r1 and xfs-sources-2.4.20-r1 will -# have support for this package, do not change these to ~ -# until your arch has i2c-2.7.0 in it's kernel. -KEYWORDS="~x86 -ppc -sparc" -LICENSE="GPL-2" - -DEPEND="|| ( - >=sys-apps/i2c-2.7.0 - >=sys-kernel/gentoo-sources-2.4.20-r1 - >=sys-kernel/lolo-sources-2.4.20.1 - >=sys-kernel/xfs-sources-2.4.20_pre4 - )" - -src_compile() { - check_KV - - filter-flags -fPIC - - emake clean all || die "lm_sensors requires the source of a compatible kernel\nversion installed in /usr/src/linux and >=i2c-2.7.0 support built as a modules this support is included in gentoo-sources as of 2.4.20-r1" -} - -src_install() { - einstall DESTDIR=${D} PREFIX=/usr MANDIR=/usr/share/man || 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 -} |