desktop/libiscsi/PKGBUILD

32 lines
747 B
Bash
Raw Normal View History

2015-11-19 06:46:22 +08:00
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Patryk Kowalczyk <patryk@kowalczyk.ws>
pkgname=libiscsi
pkgver=1.13.0
pkgrel=1
makedepends=('git')
depends=('glibc' 'popt' 'libgcrypt')
pkgdesc="Clientside library to implement the iSCSI protocol"
arch=(x86_64)
url="https://github.com/sahlberg/libiscsi"
license=('LGPL')
source=(libiscsi::git+https://github.com/sahlberg/libiscsi.git#commit=646c8b963d87f758c6c8c5cf78c654a9da31e6ad)
md5sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}"
./autogen.sh
./configure --prefix=/usr --disable-static --libdir=/usr/lib
make
}
check() {
cd "${srcdir}/${pkgname}"
make check
}
package () {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
}
md5sums=('SKIP')