1 # Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
2 # Contributor: Matej Špindler <gmail.com: spindler.matej>
3 # Contributor: Mateusz Herych <gmail.com: heniekk>
4 # Contributor: Charles Lindsay <chaoslizard.org: charles>
8 _kernver="$(cat /lib/modules/extramodules-3.2-ck/version)"
10 pkgdesc="Kernel module that emulates SCSI devices. For linux-ck."
11 arch=('i686' 'x86_64')
12 url="http://cdemu.sourceforge.net/"
14 depends=('linux-ck>=3.2' 'linux-ck<=3.3')
15 makedepends=('linux-ck-headers>=3.2')
16 install=vhba-module.install
17 source=(http://downloads.sourceforge.net/cdemu/vhba-module-${pkgver}.tar.gz)
18 md5sums=('fb90cd8fc4cd74d08c92e8235f99f1f4')
21 cd "${srcdir}/vhba-module-${pkgver}"
23 make -j1 KDIR=/usr/src/linux-${_kernver}
27 cd "${srcdir}/vhba-module-${pkgver}"
28 install -D vhba.ko "${pkgdir}/lib/modules/extramodules-3.2-ck/vhba.ko"