# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /var/cvsroot/gentoo-x86/media-video/rivatv/rivatv-0.8.0.ebuild,v 1.1 2002/06/07 15:12:59 blauwers Exp $ S=${WORKDIR}/${P/_/-} DESCRIPTION="kernel driver for nVidia based cards with video-in" SRC_URI="http://unc.dl.sourceforge.net/sourceforge/rivatv/${P/_/-}.tar.gz" HOMEPAGE="http://rivatv.sourceforge.net/" LICENSE="GPL-2" DEPEND="virtual/x11 >=sys-kernel/linux-sources-2.4.17" src_compile() { #cd rivatv/linux/drivers/media/video emake KERNEL="/usr/src/linux-${KV}" || die } src_install () { insinto /lib/modules/${KV}/kernel/drivers/media/video doins *.o dodoc README } pkg_postinst() { depmod -a einfo "You will need support for videodev, i2c-core, i2c-algo-bit" einfo "for this driver to work, plus your cards' specific modules" einfo "from /lib/modules/${KV}/kernel/drivers/media/video" einfo einfo "To load the module automatically at boot up, add these and" einfo "\"rivatv\" to your /etc/modules.autoload." einfo einfo "Also, see ${HOMEPAGE} for more information." einfo einfo "NOTE: Your kernel must not include framebuffer support." }