diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-02-11 10:24:01 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-02-11 10:24:01 +0000 |
commit | e9abfadba77f42d9f5842b71cda5cd8e4479bf30 (patch) | |
tree | a0c57224588dfa6d42384346b2de84b781596bff /media-video/usb-pwcx | |
parent | Version bump (diff) | |
download | historical-e9abfadba77f42d9f5842b71cda5cd8e4479bf30.tar.gz historical-e9abfadba77f42d9f5842b71cda5cd8e4479bf30.tar.bz2 historical-e9abfadba77f42d9f5842b71cda5cd8e4479bf30.zip |
Version bump
Diffstat (limited to 'media-video/usb-pwcx')
-rw-r--r-- | media-video/usb-pwcx/Manifest | 4 | ||||
-rw-r--r-- | media-video/usb-pwcx/files/digest-usb-pwcx-8.4 | 1 | ||||
-rw-r--r-- | media-video/usb-pwcx/usb-pwcx-8.4.ebuild | 42 |
3 files changed, 45 insertions, 2 deletions
diff --git a/media-video/usb-pwcx/Manifest b/media-video/usb-pwcx/Manifest index 98334f880402..6f87f41a8189 100644 --- a/media-video/usb-pwcx/Manifest +++ b/media-video/usb-pwcx/Manifest @@ -1,6 +1,6 @@ MD5 6325b95a34fa57bc465cccb4464ed2f5 usb-pwcx-8.2.2.ebuild 842 -MD5 b4a2f142e2a5e5ca5b7de829289c46aa ChangeLog 746 -MD5 8e38d232c4918f9c61b504906a3b0c80 usb-pwcx-8.4.ebuild 1247 +MD5 c3318879bb6b8e55ca29abf5d72b66e0 ChangeLog 748 +MD5 13a8a75631b188f9a485365e25d380a4 usb-pwcx-8.4.ebuild 1245 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/files/digest-usb-pwcx-8.4 b/media-video/usb-pwcx/files/digest-usb-pwcx-8.4 new file mode 100644 index 000000000000..845ceb1ca586 --- /dev/null +++ b/media-video/usb-pwcx/files/digest-usb-pwcx-8.4 @@ -0,0 +1 @@ +MD5 a296b17b6bac84a2afd6bf87750871ef pwcx-8.4.tar.gz 39456 diff --git a/media-video/usb-pwcx/usb-pwcx-8.4.ebuild b/media-video/usb-pwcx/usb-pwcx-8.4.ebuild new file mode 100644 index 000000000000..ec34d5cddfe7 --- /dev/null +++ b/media-video/usb-pwcx/usb-pwcx-8.4.ebuild @@ -0,0 +1,42 @@ +# 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 $ + +DESCRIPTION="Optional binary only drivers for phillips (and many other) webcams giving higher resolutions and framerates" +HOMEPAGE="http://www.smcc.demon.nl/webcam/" +SRC_URI="http://www.smcc.demon.nl/webcam/pwcx-${PV}.tar.gz" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~x86 -ppc -sparc -alpha" +DEPEND="" +S=${WORKDIR}/pwcx-${PV} + +src_install() { + + if [ "$(echo $(uname -r) | cut -c-3)" = "2.6" ]; 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 + 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 + fi + + insinto /etc/modules.d + doins usb-pwcx + + dodoc README +} + +pkg_postinst() { + if [ "${ROOT}" = "/" ] + then + # Update module dependancy + [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules + depmod -a + fi +} |