summaryrefslogtreecommitdiffstats
path: root/test/microdia/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/microdia/Pkgfile')
-rw-r--r--test/microdia/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/microdia/Pkgfile b/test/microdia/Pkgfile
new file mode 100644
index 000000000..0450e9950
--- /dev/null
+++ b/test/microdia/Pkgfile
@@ -0,0 +1,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/
+}