void-packages/srcpkgs/crun/template

31 lines
924 B
Bash
Raw Normal View History

# Template file for 'crun'
pkgname=crun
2020-11-06 12:58:02 +00:00
version=0.15.1
revision=1
build_style=gnu-configure
configure_args="--disable-systemd"
2020-10-26 01:54:40 +00:00
hostmakedepends="pkg-config libtool python3 $(vopt_if man go-md2man)"
makedepends="libcap-devel libseccomp-devel yajl-devel"
short_desc="Lightweight OCI runtime written in C"
maintainer="Imran Khan <imrankhan@teknik.io>"
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"
2020-11-06 12:58:02 +00:00
checksum=1b3f05d1b585bc6dfde3c2ad50aa4c3db3b507705cbc6d2c7810880282063433
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" argp-standalone"
fi
2020-10-26 01:54:40 +00:00
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 -f ${DESTDIR}/usr/lib/*.a
}