summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-06-07 10:30:49 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-06-07 10:30:49 +0000
commit312a699ead131e5dea28ff95792693c9e36c1bf4 (patch)
treeae6c84a9f55e03e3d36e4cea0e9a500615f3ea6c /media-video/usb-pwcx
parentVersion bump (Manifest recommit) (diff)
downloadgentoo-2-312a699ead131e5dea28ff95792693c9e36c1bf4.tar.gz
gentoo-2-312a699ead131e5dea28ff95792693c9e36c1bf4.tar.bz2
gentoo-2-312a699ead131e5dea28ff95792693c9e36c1bf4.zip
Adding warning about wrong kernel version.
Diffstat (limited to 'media-video/usb-pwcx')
-rw-r--r--media-video/usb-pwcx/ChangeLog5
-rw-r--r--media-video/usb-pwcx/usb-pwcx-8.2.2.ebuild13
2 files changed, 15 insertions, 3 deletions
diff --git a/media-video/usb-pwcx/ChangeLog b/media-video/usb-pwcx/ChangeLog
index d59eb73bb970..5317d5c721e1 100644
--- a/media-video/usb-pwcx/ChangeLog
+++ b/media-video/usb-pwcx/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/usb-pwcx
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwcx/ChangeLog,v 1.9 2004/02/18 16:20:48 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwcx/ChangeLog,v 1.10 2004/06/07 10:30:49 phosphan Exp $
+
+ 07 Jun 2004; Patrick Kursawe <phosphan@gentoo.org> usb-pwcx-8.2.2.ebuild:
+ Bails out for 2.6 kernels now.
18 Feb 2004; Patrick Kursawe <phosphan@gentoo.org> usb-pwcx-8.4.ebuild:
Now _really_ using check-kernel
diff --git a/media-video/usb-pwcx/usb-pwcx-8.2.2.ebuild b/media-video/usb-pwcx/usb-pwcx-8.2.2.ebuild
index b4cd508569b5..9d1d72eb3fc9 100644
--- a/media-video/usb-pwcx/usb-pwcx-8.2.2.ebuild
+++ b/media-video/usb-pwcx/usb-pwcx-8.2.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwcx/usb-pwcx-8.2.2.ebuild,v 1.7 2004/02/22 22:33:43 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwcx/usb-pwcx-8.2.2.ebuild,v 1.8 2004/06/07 10:30:49 phosphan Exp $
+
+inherit check-kernel
DESCRIPTION="Optional closed source drivers for phillips webcams to allow for higher resoltions and framerates "
HOMEPAGE="http://www.smcc.demon.nl/webcam/"
@@ -12,6 +14,13 @@ KEYWORDS="x86 -ppc -sparc -alpha"
DEPEND=""
+pkg_setup() {
+ if is_2_6_kernel; then
+ eerror "You need a newer version for 2.6 kernels!"
+ die "This works only for 2.4 kernels"
+ fi
+}
+
src_install() {
insinto "/lib/modules/usb"
doins pwcx-i386.o