1 # Contributor: jshantih <jshantih@gmail.com>
6 pkgdesc="Kernel module for Highpoint RocketRAID 232x SATA cards"
8 url="http://www.highpoint-tech.com/USA/bios_rr2320.htm"
11 depends=('kernel26>=2.6.31')
18 install=rr232x.install
19 source=("http://www.support-highpoint-tech.com/Main/rr232x/Linux/opensrc/rr232x-linux-src-v$pkgver-090716-0928.tar.gz")
20 md5sums=('ff93a9237ce6c95bc0b44aaf267f01fc')
26 mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/scsi/
27 #patch -p0 < rr232x-2.6.30.patch
28 cd $startdir/src/rr232x-linux-src-v$pkgver/product/rr232x/linux/
30 KERNELDIR=/lib/modules/${_kernver}/build make || return 1
32 # Install the kernel module
33 install -m 644 -D rr232x.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/scsi/
35 mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
36 cp $startdir/src/rr232x-linux-src-v$pkgver/README $startdir/pkg/usr/share/licenses/$pkgname/