summaryrefslogtreecommitdiffstats
path: root/extra/microdia/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/microdia/Pkgfile')
-rw-r--r--extra/microdia/Pkgfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/extra/microdia/Pkgfile b/extra/microdia/Pkgfile
index 0b01b0187..0450e9950 100644
--- a/extra/microdia/Pkgfile
+++ b/extra/microdia/Pkgfile
@@ -5,7 +5,7 @@
# Depends on: ctags
name=microdia
-version=627b
+version=20091122
release=1
_kernver=`uname -r`
source=()
@@ -15,7 +15,8 @@ source=()
build() {
git clone http://repo.or.cz/r/microdia.git
cd $name
- make
+ 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/