4 pkgdesc="X.org v4l video driver"
5 makepends=('mercurial')
7 url="http://mcentral.de/wiki/index.php/Em2880"
10 'Makefile-depmod.patch' \
11 'Makefile-lsmod.patch'\
14 '334ac08d9980f5130d09b36137f64e0f' \
15 '40084693888a7105adf4c0fbcb8afb03' \
16 'efcd91a0464ea471dc182a902d87cf4d'\
18 install=v4l-hg.install
22 _hgroot=http://mcentral.de/hg/~mrec/
23 _hgrepo=v4l-dvb-experimental
24 #_hgrepo=v4l-dvb-kernel
29 if [ -d ${_hgrepo} ]; then
30 cd $startdir/src/${_hgrepo}/v4l
33 hg clone ${_hgroot}${_hgrepo} || return 1
34 cd $startdir/src/${_hgrepo}/v4l
37 if [[ "grep `uname -r` src/v4l-dvb-experimental/v4l/oss/.version" == "" ]]; then
38 make distclean || return 1
41 #cp $startdir/src/config ./.config
45 patch -Np0 -i $startdir/src/Makefile-lsmod.patch
48 patch -Np0 -i $startdir/src/Makefile-depmod.patch
50 DEST=$startdir/pkg/lib/modules/${_kver} \
51 KDIR=$startdir/pkg/lib/modules/${_kver}/build \
52 KDIR26=$startdir/pkg/lib/modules/${_kver}/kernel/drivers/media \