mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-25 17:52:05 +01:00
31 lines
847 B
Plaintext
31 lines
847 B
Plaintext
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=sanlock
|
|
pkgver=3.8.4
|
|
pkgrel=0
|
|
pkgdesc="lease manager that uses shared storage"
|
|
url="https://pagure.io/sanlock"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later"
|
|
makedepends="linux-headers libaio-dev util-linux-dev python3 python3-dev"
|
|
checkdepends="py3-pytest"
|
|
subpackages="$pkgname-dev $pkgname-doc py3-sanlock:py3"
|
|
source="https://releases.pagure.org/sanlock/sanlock-$pkgver.tar.gz"
|
|
options="!check" # all tests are failing
|
|
|
|
build() {
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" LIBDIR="/usr/lib" install
|
|
}
|
|
|
|
py3() {
|
|
amove /usr/lib/python3*
|
|
}
|
|
|
|
sha512sums="
|
|
9fca2b18fd3bd504d5186de0b2626ea2c993997528de2384dc042afe52b2b68422a2e4bb79e2409c9e6eccbe5ea8d8939549eb25c5d16aa7fecf6c9a5798340c sanlock-3.8.4.tar.gz
|
|
"
|