updated on Wed Jan 18 20:10:41 UTC 2012
[aur-mirror.git] / iscsitarget-kernel / PKGBUILD
blob7f525739bd0db4e5feb9c5e41b35937c78979a2a
1 # Contributor: Henry Jensen <hjensen@delilinux.de>
2 pkgname=iscsitarget-kernel
3 pkgver=1.4.20.1
4 pkgrel=1
5 pkgdesc="An opensource iSCSI target - kernel module"
6 url="http://iscsitarget.sourceforge.net"
7 license="GPL-2"
8 arch=('i686')
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')
16 build() {
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