mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
32 lines
747 B
Bash
32 lines
747 B
Bash
# 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')
|