summaryrefslogtreecommitdiff
blob: 713c00e8062f59ba4107f756c22df879df962d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2003 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.3 2003/02/13 13:36:13 vapier Exp $

S=${WORKDIR}/${P}
DESCRIPTION="Optional closed source drivers for phillips webcams to allow for higher resoltions and framerates "
SRC_URI="http://www.smcc.demon.nl/webcam/usb-pwcx-8.2.2.tar.gz"
HOMEPAGE="http://www.smcc.demon.nl/webcam/"
SLOT="0"
LICENSE="freedist"
KEYWORDS="~x86 -ppc -sparc  -alpha"
DEPEND=""

src_install() {
	insinto "/lib/modules/usb"
	doins pwcx-i386.o

	insinto /etc/modules.d
	doins "${FILESDIR}"/usb-pwcx
    
	dodoc install.html readme.html webcam.css
}

pkg_postinst() {
	if [ "${ROOT}" = "/" ]
	then
		# Update module dependancy
		[ -x /usr/sbin/update-modules ] && /usr/sbin/update-modules
	fi
}