summaryrefslogtreecommitdiffstats
path: root/extra/microdia
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 21:04:35 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 21:04:35 +0200
commit44a66fccda6099eee9dd408d9ed9abb66d26ed25 (patch)
tree7ee9fc8466f6ab0249568e3baddb052d304b9851 /extra/microdia
parentb6736dd3a054b0f7ea8c2a899cb4a54638deaaa2 (diff)
downloadnutyx-pakxe-44a66fccda6099eee9dd408d9ed9abb66d26ed25.tar.gz
nutyx-pakxe-44a66fccda6099eee9dd408d9ed9abb66d26ed25.tar.bz2
nutyx-pakxe-44a66fccda6099eee9dd408d9ed9abb66d26ed25.tar.xz
nutyx-pakxe-44a66fccda6099eee9dd408d9ed9abb66d26ed25.zip
Ajout de microdia#627b-7
Diffstat (limited to 'extra/microdia')
-rw-r--r--extra/microdia/.footprint9
-rw-r--r--extra/microdia/.md5sum0
-rw-r--r--extra/microdia/Pkgfile22
-rw-r--r--extra/microdia/post-install8
4 files changed, 39 insertions, 0 deletions
diff --git a/extra/microdia/.footprint b/extra/microdia/.footprint
new file mode 100644
index 000000000..111e2fa58
--- /dev/null
+++ b/extra/microdia/.footprint
@@ -0,0 +1,9 @@
+drwxr-xr-x root/root lib/
+drwxr-xr-x root/root lib/modules/
+drwxr-xr-x root/root lib/modules/<kernel-version>/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/media/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/media/video/
+drwxr-xr-x root/root lib/modules/<kernel-version>/kernel/drivers/media/video/videousb/
+-rw-r--r-- root/root lib/modules/<kernel-version>/kernel/drivers/media/video/videousb/sn9c20x.ko
diff --git a/extra/microdia/.md5sum b/extra/microdia/.md5sum
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/extra/microdia/.md5sum
diff --git a/extra/microdia/Pkgfile b/extra/microdia/Pkgfile
new file mode 100644
index 000000000..65cdff6ca
--- /dev/null
+++ b/extra/microdia/Pkgfile
@@ -0,0 +1,22 @@
+# 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=627b
+release=7
+_kernver=2.6.30.4
+source=()
+
+
+
+build() {
+ git clone http://repo.or.cz/r/microdia.git
+ cd $name
+ make
+ mkdir -p $PKG/lib/modules/${_kernver}/kernel/drivers/media/video/videousb
+ cp sn9c20x.ko \
+ $PKG/lib/modules/${_kernver}/kernel/drivers/media/video/videousb/
+}
diff --git a/extra/microdia/post-install b/extra/microdia/post-install
new file mode 100644
index 000000000..81a8d1263
--- /dev/null
+++ b/extra/microdia/post-install
@@ -0,0 +1,8 @@
+#!/bin/bash
+# MAJ modules
+depmod
+# Ajout du module dans /etc/sysconfig/modules
+if ! grep "sn9c20x" /etc/sysconfig/modules >/dev/null; then
+ sed -i '/End/ i sn9c20x' /etc/sysconfig/modules
+fi
+