summaryrefslogtreecommitdiff
path: root/extra/libiscsi/PKGBUILD
blob: fe3e37e193501f586f93180d89d38899f7eb160c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 198188 2013-10-30 13:20:31Z allan $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=libiscsi
pkgver=1.7.0
pkgrel=2
depends=('glibc' 'popt')
pkgdesc="Clientside library to implement the iSCSI protocol"
arch=(i686 x86_64)
url="https://github.com/sahlberg/libiscsi"
license=('LGPL')
source=(https://github.com/downloads/sahlberg/${pkgname}/${pkgname}-${pkgver}.tar.gz)

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./autogen.sh
  ./configure --prefix=/usr --disable-static --libdir=/usr/lib 
  make
}

check() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make check
}

package () {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}
md5sums=('4ba621f47d016d48ab93d5301ae5a363')