# 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="i2c bus reading kernel bits" SRC_URI="http://www.netroedge.com/~lm78/archive/${P}.tar.gz" HOMEPAGE="http://www.netroedge.com/~lm78/" DEPEND=">=linux-sources-2.4.13" src_compile() { emake || die } src_install () { make DESTDIR=${D} install || die } pkg_postinst () { # We need to run depmod -a and ldconfig after installing the # headers. # This is so the lm_sensors build can find them. depmod -a || die ldconfig || die }