diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2004-12-07 14:27:40 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2004-12-07 14:27:40 +0000 |
commit | 6abbe2929567b6e63a199796515b25af651486d8 (patch) | |
tree | df6aeaf275db1546198b27e9a41ac4ddc6ee61d8 /media-video/usb-pwc-re | |
parent | Stable on sparc wrt #72521 (Manifest recommit) (diff) | |
download | gentoo-2-6abbe2929567b6e63a199796515b25af651486d8.tar.gz gentoo-2-6abbe2929567b6e63a199796515b25af651486d8.tar.bz2 gentoo-2-6abbe2929567b6e63a199796515b25af651486d8.zip |
Closing #68217
Diffstat (limited to 'media-video/usb-pwc-re')
-rw-r--r-- | media-video/usb-pwc-re/ChangeLog | 10 | ||||
-rw-r--r-- | media-video/usb-pwc-re/Manifest | 2 | ||||
-rw-r--r-- | media-video/usb-pwc-re/files/digest-usb-pwc-re-10.0.6a | 1 | ||||
-rw-r--r-- | media-video/usb-pwc-re/metadata.xml | 8 | ||||
-rw-r--r-- | media-video/usb-pwc-re/usb-pwc-re-10.0.6a.ebuild | 47 |
5 files changed, 68 insertions, 0 deletions
diff --git a/media-video/usb-pwc-re/ChangeLog b/media-video/usb-pwc-re/ChangeLog new file mode 100644 index 000000000000..67acb271dfd3 --- /dev/null +++ b/media-video/usb-pwc-re/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-video/usb-pwc-re +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwc-re/ChangeLog,v 1.1 2004/12/07 14:27:40 phosphan Exp $ + +*usb-pwc-re-10.0.6a (07 Dec 2004) + + 07 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> +metadata.xml, + +usb-pwc-re-10.0.6a.ebuild: + Initial import, see bug #68217 + diff --git a/media-video/usb-pwc-re/Manifest b/media-video/usb-pwc-re/Manifest new file mode 100644 index 000000000000..1be1aee4085b --- /dev/null +++ b/media-video/usb-pwc-re/Manifest @@ -0,0 +1,2 @@ +MD5 af362d34bc41624d47c27b4740feac6c usb-pwc-re-10.0.6a.ebuild 1080 +MD5 0f0e28dc65e476d4794110d268caced2 files/digest-usb-pwc-re-10.0.6a 63 diff --git a/media-video/usb-pwc-re/files/digest-usb-pwc-re-10.0.6a b/media-video/usb-pwc-re/files/digest-usb-pwc-re-10.0.6a new file mode 100644 index 000000000000..1ce9ec30c38d --- /dev/null +++ b/media-video/usb-pwc-re/files/digest-usb-pwc-re-10.0.6a @@ -0,0 +1 @@ +MD5 9ea511431e9475fb78d76f2551303d97 pwc-10.0.6a.tar.bz2 45677 diff --git a/media-video/usb-pwc-re/metadata.xml b/media-video/usb-pwc-re/metadata.xml new file mode 100644 index 000000000000..6e1d55b1eb69 --- /dev/null +++ b/media-video/usb-pwc-re/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>video</herd> +<maintainer> + <email>phosphan@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/media-video/usb-pwc-re/usb-pwc-re-10.0.6a.ebuild b/media-video/usb-pwc-re/usb-pwc-re-10.0.6a.ebuild new file mode 100644 index 000000000000..0a81afc61c1f --- /dev/null +++ b/media-video/usb-pwc-re/usb-pwc-re-10.0.6a.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/usb-pwc-re/usb-pwc-re-10.0.6a.ebuild,v 1.1 2004/12/07 14:27:40 phosphan Exp $ + + +inherit check-kernel eutils + +DESCRIPTION="A fork of the discontinuity pwc driver made by Nemosoft Unv. Most of the pwcx functionality has been reverse engineered." +HOMEPAGE="http://www.saillard.org/pwc/" +SRC_URI="http://www.saillard.org/pwc/files/pwc-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +DEPEND="" +S=${WORKDIR}/pwc-${PV} + +src_compile() { + set_arch_to_kernel + emake || die "make failed" +} + +src_install() { + + if is_2_6_kernel; then + einfo "Kernel ${KV_full} detected!" + insinto "/lib/modules/${KV_full}/kernel/drivers/usb/media/pwc" + doins pwc.ko + echo "post-install pwc /sbin/modprobe --force pwcx >& /dev/null 2>&1 || :" > usb-pwcx + else + eerror "No supported kernel version (2.6) detected." + fi + + insinto /etc/modules.d + +} + +pkg_postinst() { + if [ "${ROOT}" = "/" ] + then + # Update module dependency + [ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules + depmod -a + fi + einfo "If you have problems loading the module, please check the \"dmesg\" output." +} |