mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-08 06:47:09 +02:00
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=py-rtslib
|
|
_realname=rtslib-fb
|
|
pkgver=2.1_p63
|
|
_ver=${pkgver/_rc/rc}
|
|
_ver=${_ver/_p/.fb}
|
|
pkgrel=1
|
|
pkgdesc="Python library that provides an object API to RisingTide Systems generic SCSI Target"
|
|
url="https://github.com/open-iscsi/rtslib-fb"
|
|
arch="noarch"
|
|
license="AGPLv3"
|
|
depends="python2"
|
|
makedepends="$depends_dev py-setuptools py-configobj py-ethtool py-ipaddr"
|
|
source="https://github.com/open-iscsi/rtslib-fb/archive/v${_ver}.tar.gz"
|
|
options="!check"
|
|
builddir="$srcdir"/${_realname}-${_ver}
|
|
|
|
prepare() {
|
|
cd "$builddir"
|
|
default_prepare
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
python2 setup.py install --root="$pkgdir"
|
|
# install -D -m644 specs/ib_srpt.spec $pkgdir/var/lib/target/fabric/ib_srpt.spec
|
|
# install -D -m644 specs/iscsi.spec $pkgdir/var/lib/target/fabric/iscsi.spec
|
|
# install -D -m644 specs/loopback.spec $pkgdir/var/lib/target/fabric/loopback.spec
|
|
# install -D -m644 specs/qla2xxx.spec $pkgdir/var/lib/target/fabric/qla2xxx.spec
|
|
# install -D -m644 specs/tcm_fc.spec $pkgdir/var/lib/target/fabric/tcm_fc.spec
|
|
}
|
|
|
|
sha512sums="faf5732299def9f5eb9147f930e8b48c9e9a26a918b41aa60f06a1f079e6e0453eb3c2d19136b244ef2349c23d31b7fa15cb4a0b6302ffbcd878033a45a11d1a v2.1.fb63.tar.gz"
|