33 lines
974 B
Bash
33 lines
974 B
Bash
# Template file for 'crun'
|
|
pkgname=crun
|
|
version=1.9
|
|
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, LGPL-2.1-or-later"
|
|
homepage="https://github.com/containers/crun"
|
|
distfiles="https://github.com/containers/crun/releases/download/${version}/crun-${version}.tar.gz"
|
|
checksum=5d8fc610bf95594ccb1f03edaa993e8dafcc8eeb9b73c92025779fb80ba674bc
|
|
# most of the tests don't work inside a container
|
|
make_check=ci-skip
|
|
|
|
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
|
|
}
|