aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-containers/crun/crun_git.bb
blob: 7781e1101772391367d681f5ab0dc051accf492d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
DESCRIPTION = "A fast and low-memory footprint OCI Container Runtime fully written in C."
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
PRIORITY = "optional"

SRCREV_crun = "a43f72196f7aaf713dc997eaddd0f08612f60ac0"
SRCREV_libocispec = "01c8f977ff5ed1e8010f40c2572343be1a70a51b"
SRCREV_ispec = "775207bd45b6cb8153ce218cc59351799217451f"
SRCREV_rspec = "19e92ca817772b4466f2ed2b8d808dfb7a8ab4be"

SRCREV_FORMAT = "crun_rspec"
SRC_URI = "git://github.com/containers/crun.git;branch=master;name=crun \
           git://github.com/containers/libocispec.git;branch=master;name=libocispec;destsuffix=git/libocispec \
           git://github.com/opencontainers/runtime-spec.git;branch=master;name=rspec;destsuffix=git/libocispec/runtime-spec \
           git://github.com/opencontainers/image-spec.git;branch=master;name=ispec;destsuffix=git/libocispec/image-spec \
          "

PV = "0.10.2+git${SRCREV_crun}"
S = "${WORKDIR}/git"

inherit autotools-brokensep pkgconfig

PACKAGECONFIG ??= ""

DEPENDS = "yajl libcap go-md2man-native"
# TODO: is there a packageconfig to turn this off ?
DEPENDS += "libseccomp"
DEPENDS += "oci-image-spec oci-runtime-spec"

do_install() {
    oe_runmake 'DESTDIR=${D}' install
}