mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
31 lines
764 B
Bash
31 lines
764 B
Bash
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
|
|
# Contributor: Patryk Kowalczyk <patryk@kowalczyk.ws>
|
|
pkgname=libiscsi
|
|
pkgver=1.17.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=($pkgname-$pkgver.tar.gz::https://github.com/sahlberg/libiscsi/archive/$pkgver.tar.gz)
|
|
md5sums=('bca5c45b260278970524a509cde040f7')
|
|
|
|
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
|
|
}
|