1 # Contributor: Karol Maciaszek <karol.maciaszek@czystybeton.pl>
5 pkgdesc="Syntek DC-1125 Camera Driver (integrated camera in Asus laptops)"
6 url="http://syntekdriver.sourceforge.net"
9 depends=('kernel26>=2.6.29')
11 source=("http://switch.dl.sourceforge.net/sourceforge/syntekdriver/$pkgname-$pkgver.tar.gz")
12 md5sums=('654a8f089e4cef3eac9d343b112fa7e3')
13 install=$pkgname.install
15 cd $startdir/src/$pkgname-$pkgver || return 1
16 # patch $startdir/src/$pkgname/Makefile.standalone $startdir/kver.patch
17 make -f Makefile.standalone || return 1
18 install -d $startdir/pkg/lib/modules/`uname -r`/kernel/drivers/media/video
19 install -m 644 $startdir/src/$pkgname-$pkgver/stk11xx.ko $startdir/pkg/lib/modules/`uname -r`/kernel/drivers/media/video
20 install -d $startdir/pkg/usr/share/$pkgname
21 install -m 644 $startdir/src/$pkgname-$pkgver/README $startdir/pkg/usr/share/$pkgname