From 00c16f6636c16b5af905f81ec902aecffd9d2846 Mon Sep 17 00:00:00 2001 From: Imran Khan Date: Thu, 19 Mar 2020 18:15:37 +0600 Subject: [PATCH] New package: crun-0.13 --- srcpkgs/crun/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/crun/template diff --git a/srcpkgs/crun/template b/srcpkgs/crun/template new file mode 100644 index 00000000000..3fb761caa66 --- /dev/null +++ b/srcpkgs/crun/template @@ -0,0 +1,26 @@ +# Template file for 'crun' +pkgname=crun +version=0.13 +revision=1 +build_style=configure +configure_args="--prefix=/usr --enable-dynamic --disable-systemd" +hostmakedepends="pkg-config libtool python3 go-md2man" +makedepends="libcap-devel libseccomp-devel yajl-devel" +short_desc="Lightweight OCI runtime written in C" +maintainer="Imran Khan " +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=a7a9f458fa4c13fc63f8e74c6ce660f9c439022cd50b4a00902c258ef08e75ff + +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" argp-standalone" +fi + +if [ "$CROSS_BUILD" ]; then + configure_args+=" --host=${XBPS_CROSS_TRIPLET}" +fi + +post_install() { + rm -f ${DESTDIR}/usr/lib/*.a +}