updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / iscsitarget-usr / PKGBUILD
blob0a6fccc885132d37b31231f1023c86ccc0a7fb29
1 # Contributor: Henry Jensen <hjensen@delilinux.de>
2 pkgname=iscsitarget-usr
3 pkgver=1.4.20.1
4 pkgrel=1
5 pkgdesc="An opensource iSCSI target - userland binaries"
6 url="http://iscsitarget.sourceforge.net"
7 license="GPL-2"
8 arch=('i686')
9 rundepends=('glibc')
10 depends=('glibc' 'openssl' 'iscsitarget-kernel')
11 source=(http://downloads.sourceforge.net/project/iscsitarget/iscsitarget/$pkgver/iscsitarget-$pkgver.tar.gz)
12 md5sums=('6e5e641b832d420e030d5efb59eca7ce')
15 build() {
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
20   make usr || return 1
21   make DISTDIR=$startdir/pkg install-usr install-etc install-doc
22   install -D -m755 etc/ietd.conf $startdir/pkg/etc/ietd.conf.sample