Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 15997 Details for
Bug 25004
sys-apps/lm-sensors -- new version 2.8.0 available
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
i2c-2.8.0.ebuild
i2c-2.8.0.ebuild (text/plain), 2.76 KB, created by
Tim Yamin (RETIRED)
on 2003-08-12 15:55:52 UTC
(
hide
)
Description:
i2c-2.8.0.ebuild
Filename:
MIME Type:
Creator:
Tim Yamin (RETIRED)
Created:
2003-08-12 15:55:52 UTC
Size:
2.76 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: /home/cvsroot/gentoo-x86/sys-apps/i2c/i2c-2.8.0.ebuild,v 1.0-pre1 plasmaroo Exp $ ># plasmaroo@plasmaroo.squirrelserver.co.uk, datestamp Tue Aug 12, 11:11 PM v0-r3 > >S=${WORKDIR}/${P} >DESCRIPTION="I2C Bus support for 2.4.x kernels" >SRC_URI="http://www2.lm-sensors.nu/~lm78/archive/${P}.tar.gz" >HOMEPAGE="http://www2.lm-sensors.nu/~lm78" > >SLOT="0" >KEYWORDS="x86 amd64 ~ppc" >LICENSE="GPL-2" >DEPEND="virtual/linux-sources" > >src_compile () { > > echo > einfo "*****************************************************************" > einfo > einfo "This ebuild assumes your *current* kernel is >=2.4.9 && < 2.5+ " > einfo > einfo "To cross-compile, 'export LINUX=\"/lib/modules/<version>/build\"'." > einfo > einfo "For 2.5+ series kernels, use the i2c support already in the" > einfo "kernel under 'Character devices' -> 'I2C support'." > einfo > einfo "*****************************************************************" > echo > > if [ "$LINUX" != "" ]; then > einfo "Cross-compiling using $LINUX" > einfo "Using headers from `echo $LINUX/include/linux | sed 's/\/\//\//'`" > LINUX=`echo $LINUX | sed 's/build\//build/'` > else > einfo "Using running kernel `uname -r`" > fi > > echo > sleep 7 > > if [ "$LINUX" != "" ]; then > emake LINUX=$LINUX clean all || \ > die "i2c requires the source of a compatible kernel version installed in /usr/src/linux or the environmental variable \$LINUX and kernel i2c *disabled* or *enabled as a module*" > else > # Setting LINUX="" causes the includes to barf even if > # include dir is set: it bases the include root from > # the LINUX dir... > > # This causes LINUX to become the result of a uname probe > > emake clean all || \ > die "i2c requires the source of a compatible kernel version installed in /usr/src/linux or the environmental variable \$LINUX and kernel i2c *disabled* or *enabled as a module*" > fi >} > >src_install () { > > if [ "$LINUX" != "" ]; then > emake LINUX=$LINUX LINUX_INCLUDE_DIR=/usr/include/linux DESTDIR=${D} PREFIX=/usr MANDIR=/usr/share/man install || die > dodoc CHANGES INSTALL README > else > emake LINUX_INCLUDE_DIR=/usr/include/linux DESTDIR=${D} PREFIX=/usr MANDIR=/usr/share/man install || die > dodoc CHANGES INSTALL README > fi > >} > >pkg_postinst() { > [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules > > echo > einfo "*****************************************************************" > einfo > einfo "I2C modules installed ..." > einfo > einfo "IMPORTANT ... if you are installing this package you need to" > einfo "IMPORTANT ... *disable* kernel I2C support OR *modularize it*" > einfo "IMPORTANT ... if your 2.4.x kernel is patched with such support" > einfo > einfo "*****************************************************************" > echo > >} > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 25004
:
15933
|
15934
|
15935
|
15937
|
15969
|
15970
|
15997
|
15998
|
16030
|
16031
|
16032
|
16040
|
16041