blob: f1c49926186349979f3da27155d6fc177a6c5c03 [file] [log] [blame]
SUMMARY = "NVMe management library"
DESCRIPTION = "Library and utilities for NVMe device access"
PR = "r1"
PV = "0.1+git${SRCPV}"
inherit meson pkgconfig
HOMEPAGE = "https://github.com/linux-nvme/libnvme"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://github.com/linux-nvme/libnvme;protocol=https;branch=master"
SRCREV = "bf85536ff5640e9e3ee04e13d8e5eedd70add550"
DEPENDS += "json-c util-linux-libuuid dbus"
SRC_URI += " \
file://0001-mi_admin_xfer-set-data-fields-based-on-opcode.patch \
file://0002-mi-fix-the-return-error-code.patch \
file://0003-mi-fix-the-rc-for-nvme_mi_scan_ep.patch \
file://0004-mi-avoid-changing-default-ep-timeout-during-admin_pa.patch \
file://0005-libnvme-mi-add-timeout-functions-to-.map.patch \
file://0006-mi-don-t-return-from-mi_mctp_submit-with-a-tag-held.patch \
file://0007-mi-check-and-print-OOB-NVMe-MI-command-execution-tim.patch \
"
S = "${WORKDIR}/git"
do_install:append() {
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/build/examples/mi-mctp ${D}${bindir}/
install -m 0755 ${WORKDIR}/build/examples/mi-conf ${D}${bindir}/
}