summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2004-02-18 10:35:31 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2004-02-18 10:35:31 +0000
commite572b5f263e23b573c3dc99e68e1be553aa2326b (patch)
treee68b7b1e249659c3e9fe8d2b4384ba9b747dd5c8 /media-video/usb-pwcx
parentversion bump, added libgtkhtml dep (diff)
downloadhistorical-e572b5f263e23b573c3dc99e68e1be553aa2326b.tar.gz
historical-e572b5f263e23b573c3dc99e68e1be553aa2326b.tar.bz2
historical-e572b5f263e23b573c3dc99e68e1be553aa2326b.zip
Using check-kernel eclass now
Diffstat (limited to 'media-video/usb-pwcx')
-rw-r--r--media-video/usb-pwcx/ChangeLog7
-rw-r--r--media-video/usb-pwcx/Manifest4
-rw-r--r--media-video/usb-pwcx/usb-pwcx-8.4.ebuild11
3 files changed, 15 insertions, 7 deletions
diff --git a/media-video/usb-pwcx/ChangeLog b/media-video/usb-pwcx/ChangeLog
index 109afc321237..bc82dc584997 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-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwcx/ChangeLog,v 1.7 2004/02/11 10:29:54 phosphan Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwcx/ChangeLog,v 1.8 2004/02/18 10:35:31 phosphan Exp $
+
+ 18 Feb 2004; Patrick Kursawe <phosphan@gentoo.org> usb-pwcx-8.4.ebuild:
+ Uses check-kernel eclass now
11 Feb 2004; Patrick Kursawe <phosphan@gentoo.org> :
Added metadata - video herd.
diff --git a/media-video/usb-pwcx/Manifest b/media-video/usb-pwcx/Manifest
index da0798b1bf24..a59c19e77f99 100644
--- a/media-video/usb-pwcx/Manifest
+++ b/media-video/usb-pwcx/Manifest
@@ -1,7 +1,7 @@
MD5 6325b95a34fa57bc465cccb4464ed2f5 usb-pwcx-8.2.2.ebuild 842
-MD5 4da14c91398d694a69b9e6e96f817a5b ChangeLog 835
+MD5 0f77e5da7a33f46c6101a5d7ad64557c ChangeLog 941
MD5 5ef11878179d451985ee7157a416c27e metadata.xml 222
-MD5 13a8a75631b188f9a485365e25d380a4 usb-pwcx-8.4.ebuild 1245
+MD5 a107450454bb4381993cd19b97dce0b0 usb-pwcx-8.4.ebuild 1322
MD5 607e5a7c043cc677f885658c4b750baa files/usb-pwcx 144
MD5 19b8836cde7ecb9a02db58728d2c292b files/digest-usb-pwcx-8.4 59
MD5 65e1b1430f7765ebd7f41b6e53585d6a files/digest-usb-pwcx-8.2.2 65
diff --git a/media-video/usb-pwcx/usb-pwcx-8.4.ebuild b/media-video/usb-pwcx/usb-pwcx-8.4.ebuild
index ec34d5cddfe7..8baf438e2caf 100644
--- a/media-video/usb-pwcx/usb-pwcx-8.4.ebuild
+++ b/media-video/usb-pwcx/usb-pwcx-8.4.ebuild
@@ -1,6 +1,9 @@
# 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.4.ebuild,v 1.1 2004/02/11 10:23:51 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwcx/usb-pwcx-8.4.ebuild,v 1.2 2004/02/18 10:35:31 phosphan Exp $
+
+
+inherit check-kernel
DESCRIPTION="Optional binary only drivers for phillips (and many other) webcams giving higher resolutions and framerates"
HOMEPAGE="http://www.smcc.demon.nl/webcam/"
@@ -14,16 +17,18 @@ S=${WORKDIR}/pwcx-${PV}
src_install() {
- if [ "$(echo $(uname -r) | cut -c-3)" = "2.6" ]; then
+ if is_2_6_kernel; then
einfo "Kernel 2.6 detected!"
insinto "/lib/modules/$(uname -r)/video/"
doins 2.6.0/gcc-3.2/pwcx.ko
echo "post-install pwc /sbin/modprobe --force pwcx >& /dev/null 2>&1 || :" > usb-pwcx
- else
+ elif is_2_4_kernel; then
einfo "Kernel 2.4 detected!"
insinto "/lib/modules/usb"
doins 2.4.23/gcc-3.2/pwcx.o
echo "post-install pwc /sbin/insmod --force /lib/modules/usb/pwcx.o >& /dev/null 2>&1 || :" > usb-pwcx
+ else
+ eerror "No supported kernel version (2.4/2.5) detected."
fi
insinto /etc/modules.d