blob: 186ded9f202ba2ab97fedfa973a75ef93a6b93e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/spca5xx/spca5xx-20060501-r1.ebuild,v 1.2 2007/11/27 12:12:52 zzam Exp $
inherit linux-mod
DESCRIPTION="spca5xx driver for webcams."
HOMEPAGE="http://mxhaard.free.fr/spca5xx.html"
SRC_URI="http://mxhaard.free.fr/spca50x/Download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RESTRICT=""
DEPEND=""
RDEPEND=""
MODULE_NAMES="spca5xx(usb/video:)"
BUILD_TARGETS="default"
CONFIG_CHECK="VIDEO_DEV VIDEO_V4L1_COMPAT"
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KERNELDIR=${KV_DIR}"
}
src_unpack() {
unpack ${A}
convert_to_m "${S}"/Makefile
cd "${S}"
epatch "${FILESDIR}"/spca-20060501-defines.patch
epatch "${FILESDIR}"/spca-20060501-2.6.18.patch
}
src_install() {
dodoc CHANGELOG INSTALL README
linux-mod_src_install
}
|