1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/netavark/APKBUILD
Michał Polański 5858e10e41 community/netavark: upgrade to 1.5.0
this version is broken on 32-bit arches due to libc crate incompatibility
with musl's new ABI for time_t, see: https://github.com/rust-lang/libc/issues/1848
2023-02-03 01:31:55 +01:00

34 lines
987 B
Text

# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=netavark
pkgver=1.5.0
pkgrel=0
pkgdesc="Container network stack"
url="https://github.com/containers/netavark"
license="Apache-2.0"
# riscv64, s390x: fails to build due to nix crate
# armv7, armhf, x86: FTBFS on 32-bit arches due to libc crate incompatibility
# with musl's new ABI for time_t, see: https://github.com/rust-lang/libc/issues/1848
arch="all !s390x !riscv64 !armv7 !armhf !x86"
makedepends="cargo mandown protoc"
subpackages="$pkgname-doc"
source="https://github.com/containers/netavark/archive/v$pkgver/netavark-$pkgver.tar.gz"
options="net"
build() {
make
mandown docs/$pkgname.1.md > docs/$pkgname.1
}
check() {
make unit
}
package() {
make DESTDIR="$pkgdir" PREFIX=/usr install
}
sha512sums="
32ce316af1558cef9a49aedddc0db5dd058f1f5d2a145ef8299a156f51743ffc86a1f299ffadf2955742965f5f0d11070b6363dad42cbeb3f5e7a3363f00d5f3 netavark-1.5.0.tar.gz
"