Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

iscsitarget-usr

By: a guest on Mar 18th, 2011  |  syntax: None  |  size: 0.89 KB  |  views: 100  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Henry Jensen <hjensen@delilinux.de>
  2. # Contributor: Kenni Lund <kenni @ kelu.dk>
  3. pkgname=iscsitarget-usr
  4. pkgver=1.4.20.2
  5. pkgrel=1
  6. pkgdesc="An opensource iSCSI target - userland binaries"
  7. url="http://iscsitarget.sourceforge.net"
  8. license="GPL-2"
  9. arch=('i686' 'x86_64')
  10. rundepends=('glibc')
  11. depends=('glibc' 'openssl' 'iscsitarget-kernel')
  12. source=(http://downloads.sourceforge.net/project/iscsitarget/iscsitarget/$pkgver/iscsitarget-$pkgver.tar.gz)
  13. md5sums=('2f23c0bfe124d79f5c20e34ef2aaff82')
  14.  
  15.  
  16. build() {
  17.   cd $startdir/src/iscsitarget-$pkgver
  18.   sed -i 's/slackware-version/arch-release/' Makefile
  19.   gzip -c doc/manpages/ietd.conf.5 > doc/manpages/ietd.conf.5.gz
  20.   gzip -c doc/manpages/ietd.8 > doc/manpages/ietd.8.gz
  21.   make usr || return 1
  22.   make DESTDIR=$startdir/pkg install-usr install-etc install-doc
  23.   install -D -m755 etc/ietd.conf $startdir/pkg/etc/ietd.conf.sample
  24. }