summaryrefslogtreecommitdiff
blob: 81141a64a12b357edb44073676c83c22b676b3e6 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit linux-mod

DESCRIPTION="OV51x driver for Linux which supports JPEG decompression inside the kernel"
HOMEPAGE="http://www.rastageeks.org/ov51x-jpeg/index.php/Main_Page"
SRC_URI="http://www.rastageeks.org/downloads/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

CONFIG_CHECK="USB VIDEO_V4L1_COMPAT"
ERROR_USB="${P} requires Host-side USB support (CONFIG_USB)."
ERROR_VIDEO_V4L1_COMPAT="${P} require support for the Video For Linux API 1 compatibility layer (CONFIG_VIDEO_V4L1_COMPAT)."
MODULE_NAMES="ov51x-jpeg(media/video:)"
BUILD_TARGETS="all"

pkg_setup() {
	linux-mod_pkg_setup
	BUILD_PARAMS="KDIR=${KV_DIR}"
}

src_install() {
	linux-mod_src_install
	dodoc ChangeLog || die "dodoc failed"
}