xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/nbdkit/nbdkit_1.30.2.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "nbdkit is a toolkit for creating NBD servers."
2DESCRIPTION = "NBD — Network Block Device — is a protocol \
3for accessing Block Devices (hard disks and disk-like things) \
4over a Network. \
5\
6nbdkit is a toolkit for creating NBD servers."
7
8HOMEPAGE = "https://github.com/libguestfs/nbdkit"
9LICENSE = "BSD-3-Clause"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=f9dcc2d8acdde215fa4bd6ac12bb14f0"
11
12SRC_URI = "git://github.com/libguestfs/nbdkit.git;protocol=https;branch=master \
13"
14
15SRCREV = "b59380e061fdf0f114c13c226ea2a508f2c067d0"
16
17S = "${WORKDIR}/git"
18
19DEPENDS = "curl xz e2fsprogs zlib"
20
21# autotools-brokensep is needed as nbdkit does not support build in external directory
22inherit pkgconfig python3native perlnative bash-completion autotools-brokensep
23
24# Those are required to build standalone
25EXTRA_OECONF = " --without-libvirt --without-libguestfs --disable-perl"
26
27# Disable some extended support (not desired for small embedded systems)
28#EXTRA_OECONF += " --disable-python"
29#EXTRA_OECONF += " --disable-ocaml"
30#EXTRA_OECONF += " --disable-rust"
31#EXTRA_OECONF += " --disable-ruby"
32#EXTRA_OECONF += " --disable-tcl"
33#EXTRA_OECONF += " --disable-lua"
34#EXTRA_OECONF += " --disable-vddk"
35