mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-30 07:51:58 +01:00
this is a million times faster new only in rust 1.68, and fails on older versions, but we have only latest in aports and don't support anything else, so it's okay.
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
# 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"
|
|
|
|
export CARGO_REGISTRIES_CRATES_IO_PROTOCOL="sparse"
|
|
|
|
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
|
|
"
|