blob: 03d92649de5d88983b4818b3da0caaea35caa243 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
inherit linux-mod
DESCRIPTION="stk-11xx driver for Syntek webcams."
HOMEPAGE="http://syntekdriver.sourceforge.net/"
SRC_URI="mirror://sourceforge/syntekdriver/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="nomirror"
DEPEND="dev-util/ctags"
RDEPEND=""
MODULE_NAMES="stk11xx(usb/video:)"
BUILD_TARGETS=" "
CONFIG_CHECK="VIDEO_DEV VIDEO_V4L1_COMPAT"
pkg_setup() {
linux-mod_pkg_setup
# BUILD_PARAMS="KDIR=${KV_DIR}"
}
src_unpack() {
unpack ${A}
sed -e "s,@ctags,@exuberant-ctags," \
-e "s,^KSRC=.*,KSRC=${KERNEL_DIR}," \
-e "s,\$(PWD),$S," < ${S}/Makefile.standalone > ${S}/Makefile
}
src_install() {
dodoc README
linux-mod_src_install
}
|