Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 1 | SUMMARY = "libnvdimm utility library" |
| 2 | DESCRIPTION = "Utility library for managing the libnvdimm \ |
| 3 | (non-volatile memory device) sub-system in the Linux kernel. \ |
| 4 | The LIBNVDIMM subsystem provides support for three types of \ |
| 5 | NVDIMMs, namely,PMEM, BLK, and NVDIMM devices that can \ |
| 6 | simultaneously support both PMEM and BLK mode access." |
| 7 | HOMEPAGE = "https://git.kernel.org/cgit/linux/kernel/git/nvdimm/nvdimm.git/tree/Documentation/nvdimm/nvdimm.txt?h=libnvdimm-for-next" |
| 8 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & MIT & CC0-1.0" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=74a614eac8b2657a4b8e6607421a0883" |
| 10 | |
| 11 | inherit meson pkgconfig bash-completion systemd |
| 12 | |
| 13 | SRCREV = "dd58d43458943d20ff063850670bf54a5242c9c5" |
| 14 | SRC_URI = "git://github.com/pmem/ndctl.git;branch=main;protocol=https \ |
| 15 | file://0001-util-Correct-path-to-iniparser.h.patch \ |
Patrick Williams | 5877637 | 2022-04-13 09:07:35 -0500 | [diff] [blame] | 16 | file://0001-meson-Use-pkg-config-to-detect-iniparser.patch \ |
| 17 | file://0001-build-set-HAVE_STATEMENT_EXPR-var.patch" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 18 | |
| 19 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>v\d+(\.\d+)*)" |
| 20 | |
| 21 | DEPENDS = "kmod udev json-c keyutils iniparser" |
| 22 | |
| 23 | S = "${WORKDIR}/git" |
| 24 | |
| 25 | EXTRA_OECONF += "-Ddestructive=enabled" |
| 26 | |
| 27 | PACKAGECONFIG ??= "tests ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" |
| 28 | PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" |
| 29 | PACKAGECONFIG[tests] = "-Dtest=enabled, -Dtest=disabled," |
| 30 | PACKAGECONFIG[docs] = "-Ddocs=enabled -Dasciidoctor=enabled,-Ddocs=disabled -Dasciidoctor=disabled, asciidoc-native" |
| 31 | |
| 32 | SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" |
| 33 | SYSTEMD_SERVICE:${PN} = "ndctl-monitor.service daxdev-reconfigure@.service" |
| 34 | SYSTEMD_AUTO_ENABLE:${PN} = "disable" |
| 35 | |
| 36 | FILES:${PN} += "${datadir}/daxctl/daxctl.conf " |