1 # Contributor: Henry Jensen <hjensen@delilinux.de>
2 pkgname=iscsitarget-kernel
5 pkgdesc="An opensource iSCSI target - kernel module"
6 url="http://iscsitarget.sourceforge.net"
9 rundepends=('kernel26')
10 depends=('kernel26' 'openssl')
11 install=iscsitarget.install
12 source=(http://downloads.sourceforge.net/project/iscsitarget/iscsitarget/$pkgver/iscsitarget-$pkgver.tar.gz)
13 md5sums=('6e5e641b832d420e030d5efb59eca7ce')
17 cd $startdir/src/iscsitarget-$pkgver
18 export KERNSRC=/usr/src/linux-$(uname -r)
19 sed -i 's/slackware-version/arch-release/' Makefile
20 make kernel || return 1
21 make DISTDIR=$startdir/pkg install-kernel