1 # Contributor: Henry Jensen <hjensen@delilinux.de>
2 pkgname=iscsitarget-usr
5 pkgdesc="An opensource iSCSI target - userland binaries"
6 url="http://iscsitarget.sourceforge.net"
10 depends=('glibc' 'openssl' 'iscsitarget-kernel')
11 source=(http://downloads.sourceforge.net/project/iscsitarget/iscsitarget/$pkgver/iscsitarget-$pkgver.tar.gz)
12 md5sums=('6e5e641b832d420e030d5efb59eca7ce')
16 cd $startdir/src/iscsitarget-$pkgver
17 sed -i 's/slackware-version/arch-release/' Makefile
18 gzip -c doc/manpages/ietd.conf.5 > doc/manpages/ietd.conf.5.gz
19 gzip -c doc/manpages/ietd.8 > doc/manpages/ietd.8.gz
21 make DISTDIR=$startdir/pkg install-usr install-etc install-doc
22 install -D -m755 etc/ietd.conf $startdir/pkg/etc/ietd.conf.sample