blob: 0450e9950ea67d510e6fe06acea0b529287e5af7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Description:microdia webcams
# URL: http://wiki.archlinux.fr/howto:materiel:microdia
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: ctags
name=microdia
version=20091122
release=1
_kernver=`uname -r`
source=()
build() {
git clone http://repo.or.cz/r/microdia.git
cd $name
sed -i -e "s/KERNEL_VERSION = .*/KERNEL_VERSION = ${_kernver}/" Makefile
make KVER=${_kernver}
mkdir -p $PKG/lib/modules/${_kernver}/kernel/drivers/media/video/videousb
cp sn9c20x.ko \
$PKG/lib/modules/${_kernver}/kernel/drivers/media/video/videousb/
}
|