Imran Khan 15a6acc377
crun: update to 1.19.1.
Closes: #53487 [via git-merge-pr]
2024-12-24 14:04:45 -05:00

34 lines
1.0 KiB
Bash

# Template file for 'crun'
pkgname=crun
version=1.19.1
revision=1
build_style=gnu-configure
configure_args="--disable-systemd"
hostmakedepends="pkg-config python3 $(vopt_if man go-md2man)"
makedepends="libcap-devel libseccomp-devel yajl-devel"
short_desc="Lightweight OCI runtime written in C"
maintainer="Imran Khan <imran@khan.ovh>"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
homepage="https://github.com/containers/crun"
changelog="https://raw.githubusercontent.com/containers/crun/main/NEWS"
distfiles="https://github.com/containers/crun/releases/download/${version}/crun-${version}.tar.gz"
checksum=32a9f283066640141a0f4401ac7ec7b5dd076b9632ab7e2eb53ff2c4e77bc8c1
# most of the tests don't work inside a container
make_check=no
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" argp-standalone"
fi
build_options="man"
desc_option_man="Use go-md2man to build manpages"
case "$XBPS_MACHINE" in
x86_64*|i686*|aarch64*|armv[67]*|ppc64le*) build_options_default="man";;
*) ;;
esac
post_install() {
rm ${DESTDIR}/usr/lib/*.a
}