|
Lines 2-8
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/qc-usb-0.6.3.ebuild,v 1.6 2006/04/11 16:56:30 swegener Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-video/qc-usb/qc-usb-0.6.3.ebuild,v 1.6 2006/04/11 16:56:30 swegener Exp $ |
| 4 |
|
4 |
|
| 5 |
inherit linux-mod eutils multilib |
5 |
inherit linux-mod eutils |
| 6 |
|
6 |
|
| 7 |
DESCRIPTION="Logitech USB Quickcam Express Linux Driver Modules" |
7 |
DESCRIPTION="Logitech USB Quickcam Express Linux Driver Modules" |
| 8 |
HOMEPAGE="http://qce-ga.sourceforge.net/" |
8 |
HOMEPAGE="http://qce-ga.sourceforge.net/" |
|
Lines 11-21
SRC_URI="mirror://sourceforge/qce-ga/${P
Link Here
|
| 11 |
IUSE="" |
11 |
IUSE="" |
| 12 |
LICENSE="GPL-2" |
12 |
LICENSE="GPL-2" |
| 13 |
SLOT="0" |
13 |
SLOT="0" |
| 14 |
KEYWORDS="x86 ~ppc ~amd64" |
14 |
KEYWORDS="~x86 ~ppc ~amd64" |
|
|
15 |
|
| 16 |
DEPEND="|| ( ( |
| 17 |
x11-libs/libX11 |
| 18 |
x11-libs/libXext |
| 19 |
) virtual/x11 |
| 20 |
)" |
| 15 |
|
21 |
|
| 16 |
pkg_setup() { |
22 |
|
| 17 |
ABI=${KERNEL_ABI} |
23 |
CONFIG_CHECK="USB_EHCI_HCD" |
| 18 |
} |
24 |
MODULE_NAMES="quickcam(usb:)" |
|
|
25 |
BUILD_TARGETS="all" |
| 19 |
|
26 |
|
| 20 |
src_unpack() { |
27 |
src_unpack() { |
| 21 |
unpack ${A} |
28 |
unpack ${A} |
|
Lines 23-41
src_unpack() {
Link Here
|
| 23 |
|
30 |
|
| 24 |
# Linux 2.6.16 compatibility, bug #127018 |
31 |
# Linux 2.6.16 compatibility, bug #127018 |
| 25 |
epatch ${FILESDIR}/${P}-linux-2.6.16.patch |
32 |
epatch ${FILESDIR}/${P}-linux-2.6.16.patch |
| 26 |
} |
33 |
convert_to_m ${S}/Makefile |
| 27 |
|
|
|
| 28 |
src_compile() { |
| 29 |
emake LINUX_DIR=${KERNEL_DIR} all || die |
| 30 |
} |
34 |
} |
| 31 |
|
35 |
|
| 32 |
src_install() { |
36 |
src_install() { |
| 33 |
insinto /lib/modules/${KV}/drivers/usb |
37 |
linux-mod_src_install |
| 34 |
doins quickcam.${KV_OBJ} |
38 |
|
| 35 |
dobin qcset |
39 |
dobin qcset |
| 36 |
dodoc README* APPLICATIONS COPYING CREDITS TODO FAQ |
40 |
dodoc README* APPLICATIONS COPYING CREDITS TODO FAQ |
| 37 |
|
41 |
dodoc quickcam.sh debug.sh freeshm.sh |
| 38 |
insinto /usr/share/doc/${PF} |
|
|
| 39 |
doins quickcam.sh debug.sh freeshm.sh |
| 40 |
} |
42 |
} |
| 41 |
|
43 |
|