Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 24697 Details for
Bug 39981
media-video/mgavideo-0.1.1b with i2c-2.8 support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild for mgavideo-0.1.1b with patch for i2c
mgavideo-0.1.1b.ebuild (text/plain), 1.77 KB, created by
Jules Gagnon
on 2004-01-31 08:18:48 UTC
(
hide
)
Description:
ebuild for mgavideo-0.1.1b with patch for i2c
Filename:
MIME Type:
Creator:
Jules Gagnon
Created:
2004-01-31 08:18:48 UTC
Size:
1.77 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /home/cvsroot/gentoo-x86/media-video/mgavideo/mgavideo-0.1.0.ebuild,v 1.6 2003/07/13 02:39:37 pebenito Exp $ > >S=${WORKDIR}/${P}/driver >DESCRIPTION="Matrox Marvel G200/G400/Rainbow Runner G-series V4L I and II >drivers" >HOMEPAGE="http://marvel.sourceforge.net" >SRC_URI="mirror://sourceforge/marvel/${P}.tar.gz" > >DEPEND="virtual/glibc" >RDEPEND="virtual/kernel" > >SLOT="0" >LICENSE="GPL-2" >KEYWORDS="x86" > >src_unpack() { > unpack ${A} > cd ${S} > [ -f /usr/src/linux/mm/rmap.c ] && epatch ${FILESDIR}/${P}-rmap_fix.patch > > # This allows us to compile the i2c-algo-ks.o module even if the user doesn't have > # the i2c-core.o module, incase they want to compile that later. At the end of this > # script we warn them if that is the case > > cp Makefile Makefile.orig > sed -e '/i2c-algo-ks\.o\:/,+3c\ >i2c-algo-ks.o:\ > \$(CC) \$(CFLAGS) -c i2c-algo-ks.c' Makefile.orig > Makefile > > #patch for use with i2c-2.8 > epatch ${FILESDIR}/mod_marvel-i2c-2.8.0.patch >} > >src_compile() { > make mjpeg >} > >src_install() { > local install_dir=/lib/modules/${KVERS}/kernel/drivers/mgavideo > > dodir ${install_dir} > dodoc README CHANGELOG > cp i2c-algo-ks.o ${D}/${install_dir} > cp ks0127.o ${D}/${install_dir} > cp msp3400.o ${D}/${install_dir} > cp maven.o ${D}/${install_dir} > cp mga_core.o ${D}/${install_dir} > cp mgavideo.o ${D}/${install_dir} > cp mgacap.o ${D}/${install_dir} > cp zr36060.o ${D}/${install_dir} > cp i33.o ${D}/${install_dir} > cp mgajpg.o ${D}/${install_dir} > cp mgagrab.o ${D}/${install_dir} >} > >pkg_postinst() { > depmod -a > if [ ! -f /lib/modules/${KVERS}/kernel/drivers/i2c/i2c-core.o ] ; then > ewarn "i2c support must be compiled into your kernel as a module" > ewarn "for these drivers to work." > fi >}
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 39981
:
24694
| 24697