updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / vhba-module-ck / PKGBUILD
bloba33642e9bfa7baab296b0705861e47b66c67e459
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>
6 pkgname=vhba-module-ck
7 pkgver=20110915
8 _kernver="$(cat /lib/modules/extramodules-3.2-ck/version)"
9 pkgrel=2
10 pkgdesc="Kernel module that emulates SCSI devices. For linux-ck."
11 arch=('i686' 'x86_64')
12 url="http://cdemu.sourceforge.net/"
13 license=('GPL2')
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')
20 build() {
21   cd "${srcdir}/vhba-module-${pkgver}"
23   make -j1 KDIR=/usr/src/linux-${_kernver}  
26 package() {
27   cd "${srcdir}/vhba-module-${pkgver}"
28   install -D vhba.ko "${pkgdir}/lib/modules/extramodules-3.2-ck/vhba.ko"