Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame^] | 1 | SUMMARY = "nbdkit is a toolkit for creating NBD servers." |
| 2 | DESCRIPTION = "NBD — Network Block Device — is a protocol \ |
| 3 | for accessing Block Devices (hard disks and disk-like things) \ |
| 4 | over a Network. \ |
| 5 | \ |
| 6 | nbdkit is a toolkit for creating NBD servers." |
| 7 | |
| 8 | HOMEPAGE = "https://github.com/libguestfs/nbdkit" |
| 9 | LICENSE = "BSD-3-Clause" |
| 10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4332a97808994cf2133a65b6c6f33eaf" |
| 11 | |
| 12 | SRC_URI = "git://github.com/libguestfs/nbdkit.git;protocol=https \ |
| 13 | file://0001-server-Fix-build-when-printf-is-a-macro.patch \ |
| 14 | " |
| 15 | |
| 16 | PV = "1.19.6+git${SRCPV}" |
| 17 | SRCREV = "257561bc9f2f01eb9f21686bcec4b863d17a26c4" |
| 18 | |
| 19 | S = "${WORKDIR}/git" |
| 20 | |
| 21 | DEPENDS = "curl xz e2fsprogs zlib" |
| 22 | |
| 23 | # autotools-brokensep is needed as nbdkit does not support build in external directory |
| 24 | inherit pkgconfig python3native perlnative bash-completion autotools-brokensep |
| 25 | |
| 26 | # Those are required to build standalone |
| 27 | EXTRA_OECONF = " --without-libvirt --without-libguestfs --disable-perl" |
| 28 | |
| 29 | # Disable some extended support (not desired for small embedded systems) |
| 30 | #EXTRA_OECONF += " --disable-python" |
| 31 | #EXTRA_OECONF += " --disable-ocaml" |
| 32 | #EXTRA_OECONF += " --disable-rust" |
| 33 | #EXTRA_OECONF += " --disable-ruby" |
| 34 | #EXTRA_OECONF += " --disable-tcl" |
| 35 | #EXTRA_OECONF += " --disable-lua" |
| 36 | #EXTRA_OECONF += " --disable-vddk" |