blob: b8c7a6ba307fa861a7b51a34d9a9ab08c39fbc2b (
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
39
40
41
42
43
44
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/qc-usb-0.6.0.ebuild,v 1.3 2004/09/27 09:21:15 liquidx Exp $
inherit kernel-mod
DESCRIPTION="Logitech USB Quickcam Express Linux Driver Modules"
HOMEPAGE="http://qce-ga.sourceforge.net/"
SRC_URI="mirror://sourceforge/qce-ga/${P}.tar.gz"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
DEPEND="virtual/linux-sources"
src_compile() {
emake KERNEL_DIR=${KERNEL_DIR} all || die
}
src_install() {
insinto /lib/modules/${KV}/drivers/usb
if kernel-mod_is_2_6_kernel; then
doins quickcam.ko
else
doins quickcam.o
fi
dobin /usr/bin/qcset
dodoc README* APPLICATIONS COPYING CREDITS TODO FAQ
insinto /usr/share/doc/${PF}
doins quickcam.sh debug.sh freeshm.sh
}
pkg_postinst() {
if kernel-mod_is_2_4_kernel; then
/usr/sbin/update-modules
fi
einfo "The kernel module for quickcam.{o,ko} is installed for the"
einfo "kernel linked by /usr/src/linux."
}
|