blob: 96cd6e0e83e9891e9cf227e2fdd7e3970aa6e0fd (
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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/qce-ga/qce-ga-0.40d.ebuild,v 1.7 2004/07/14 22:10:32 agriffis Exp $
DESCRIPTION="Logitech USB Quickcam Express Linux Driver Modules"
HOMEPAGE="http://qce-ga.sourceforge.net/"
SRC_URI="mirror://sourceforge/qce-ga/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND="virtual/linux-sources"
pkg_setup() {
[ -z "$KV" ] && die "Couldn't detect kernel version. Does /usr/src/linux exist?"
return 0
}
src_compile() {
emake || die
}
src_install() {
# install the driver in the right palce
insinto "/lib/modules/${KV}/misc"
doins mod_quickcam.o
# install the READMEs and License
dodoc README License
}
pkg_postinst() {
if [ "${ROOT}" = "/" ]; then
/sbin/update-modules
fi
}
|