summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/rivatv/rivatv-0.8.5.ebuild')
-rw-r--r--media-tv/rivatv/rivatv-0.8.5.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/media-tv/rivatv/rivatv-0.8.5.ebuild b/media-tv/rivatv/rivatv-0.8.5.ebuild
new file mode 100644
index 000000000000..bdc10fe81e48
--- /dev/null
+++ b/media-tv/rivatv/rivatv-0.8.5.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/rivatv/rivatv-0.8.5.ebuild,v 1.1 2004/07/11 14:31:31 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/"
+DEPEND="virtual/x11
+ >=virtual/linux-sources-2.4.17"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE=""
+
+src_compile() {
+ #cd rivatv/linux/drivers/media/video
+ sed -i -e 's/^install: devices.*/install:/' Makefile.in
+ econf || die
+ emake || die
+}
+
+src_install () {
+ modp=`awk '/^MODULES/{ print "'${D}'" $3}' Makefile` || die
+ mkdir -p ${modp} || die
+ emake MODULES=${modp} DEPMOD=":" install || die
+ dodoc README
+}
+
+pkg_postinst() {
+ depmod -a
+ 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."
+}