summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libnvme/libnvme_1.12.bb
blob: 95d18a1ed04f223a1f6c985b035f44bb7ea4c99e (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
SUMMARY = "libnvme development C library"
DESCRIPTION = "\
libnvme provides type definitions for NVMe specification structures, \
enumerations, and bit fields, helper functions to construct, dispatch, \
and decode commands and payloads, and utilities to connect, scan, and \
manage nvme devices on a Linux system."
HOMEPAGE = "https://github.com/linux-nvme/${BPN}"
SECTION = "libs"
LICENSE = "LGPL-2.1-only & CC0-1.0 & MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
                    file://ccan/licenses/CC0;md5=c17af43b05840255a6fedc5eda9d56cc \
                    file://ccan/licenses/BSD-MIT;md5=838c366f69b72c5df05c96dff79b35f2"
DEPENDS = "json-c"
SRCREV = "5ec1f5284ecb0eda481f3d2d61236fbc5b46164f"

SRC_URI = "git://github.com/linux-nvme/libnvme;protocol=https;branch=master \
           file://0001-mock.c-fix-checking-of-HAVE_GLIBC_IOCTL.patch"


inherit meson pkgconfig

PACKAGECONFIG ??= "keyutils openssl"

PACKAGECONFIG[keyutils] = "-Dkeyutils=enabled,-Dkeyutils=disabled,keyutils"
PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl"
PACKAGECONFIG[python] = "-Dpython=enabled,-Dpython=disabled,python"