diff options
author | root <root@rshg054.dnsready.net> | 2013-05-29 01:29:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-29 01:29:52 -0700 |
commit | d267e861074512027414df29d18d9824e0faae8f (patch) | |
tree | 770bb482bb715a84eab76bfbfa1b748d31a13541 /extra/libiscsi | |
parent | 72a09de07cab5e8ad5c3ec7c36814663a3f7a33b (diff) |
Wed May 29 01:29:24 PDT 2013
Diffstat (limited to 'extra/libiscsi')
-rw-r--r-- | extra/libiscsi/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/libiscsi/PKGBUILD b/extra/libiscsi/PKGBUILD new file mode 100644 index 000000000..26f3c5381 --- /dev/null +++ b/extra/libiscsi/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 186551 2013-05-28 18:43:28Z tpowa $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> +pkgname=libiscsi +pkgver=1.7.0 +pkgrel=1 +depends=('glibc' 'popt') +pkgdesc="Library that provides generic access to USB device" +arch=(i686 x86_64) +url="https://github.com/sahlberg/libiscsi" +license=('LGPL') +source=(https://github.com/downloads/sahlberg/${pkgname}/${pkgname}-${pkgver}.tar.gz) +options=(!libtool) + +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') |