# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: First Last # Author: The Lm_sensors Group # $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" # The URL below needs to be added as part of the SRC_URI # 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 ${A} } 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 "********************************************************" }