1 # $Id: PKGBUILD,v 1.1 2007/02/12 08:42:07 aaron Exp $
2 # Maintainer: damir <damir@archlinux.org>
3 # Maintainer : Aaron Griffin <aaron@archlinux.org>
9 pkgdesc="Video4linux interface to video capture capabilities of Mach64, Rage128 and Radeon cards for the Kernel 2.6"
10 arch=('i686' 'x86_64')
12 url="http://gatos.sourceforge.net/km.php"
13 replaces=('kernel26-km')
14 install=module.install
15 source=(http://easynews.dl.sourceforge.net/sourceforge/gatos/$pkgname-$pkgver.tgz
17 md5sums=('0bec695aaa0b4d9793a5c65e91842771' '7a3ab57fa4ffbc34261d56042bb32ef2')
22 cp Makefile-2.6 Makefile
23 patch -up1 < ../build-2.6.20.patch
25 make KDIR=/lib/modules/$_kernver/build || return 1
26 make INSTALL_MOD_PATH=$startdir/pkg KDIR=/lib/modules/$_kernver/build \
29 sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install