aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/nbdkit/nbdkit_1.25.5.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/nbdkit/nbdkit_1.25.5.bb')
-rw-r--r--meta-networking/recipes-support/nbdkit/nbdkit_1.25.5.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/nbdkit/nbdkit_1.25.5.bb b/meta-networking/recipes-support/nbdkit/nbdkit_1.25.5.bb
new file mode 100644
index 0000000000..a6070ccf85
--- /dev/null
+++ b/meta-networking/recipes-support/nbdkit/nbdkit_1.25.5.bb
@@ -0,0 +1,34 @@
+SUMMARY = "nbdkit is a toolkit for creating NBD servers."
+DESCRIPTION = "NBD — Network Block Device — is a protocol \
+for accessing Block Devices (hard disks and disk-like things) \
+over a Network. \
+\
+nbdkit is a toolkit for creating NBD servers."
+
+HOMEPAGE = "https://github.com/libguestfs/nbdkit"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f9dcc2d8acdde215fa4bd6ac12bb14f0"
+
+SRC_URI = "git://github.com/libguestfs/nbdkit.git;protocol=https \
+"
+
+SRCREV = "c828c6d48ff6b69454cad98054a1920d03c4b4c7"
+
+S = "${WORKDIR}/git"
+
+DEPENDS = "curl xz e2fsprogs zlib"
+
+# autotools-brokensep is needed as nbdkit does not support build in external directory
+inherit pkgconfig python3native perlnative bash-completion autotools-brokensep
+
+# Those are required to build standalone
+EXTRA_OECONF = " --without-libvirt --without-libguestfs --disable-perl"
+
+# Disable some extended support (not desired for small embedded systems)
+#EXTRA_OECONF += " --disable-python"
+#EXTRA_OECONF += " --disable-ocaml"
+#EXTRA_OECONF += " --disable-rust"
+#EXTRA_OECONF += " --disable-ruby"
+#EXTRA_OECONF += " --disable-tcl"
+#EXTRA_OECONF += " --disable-lua"
+#EXTRA_OECONF += " --disable-vddk"