1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit eutils linux-info
7 DESCRIPTION="A driver for sn9c1xx (webcam) devices, like the Sweex Mini cam"
8 HOMEPAGE="http://www.linux-projects.org/modules/mydownloads/viewcat.php?op=&cid=2"
9 SRC_URI="http://dev.gentooexperimental.org/~dreeevil/${P}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
19 CONFIG_CHECK="VIDEO_DEV USB"
24 epatch "${FILESDIR}"/${P}-kbuild.patch
29 emake clean || die "emake clean failed"
30 emake modules || die "emake modules failed"
34 emake DESTDIR="${D}" install || die "emake install failed"
35 dodoc ChangeLog sn9c102.txt || die "installing docs faild"