2020-06-14 22:08:21 +00:00
|
|
|
# Description: Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
|
|
|
|
# URL: https://github.com/pmem/ndctl
|
2020-07-10 11:39:17 +00:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2022-03-08 22:26:19 +01:00
|
|
|
# Depends on: iniparser json-c keyutils meson ninja
|
2020-06-14 22:08:21 +00:00
|
|
|
|
|
|
|
name=ndctl
|
2022-03-08 22:26:19 +01:00
|
|
|
version=73
|
2022-03-25 16:31:15 +01:00
|
|
|
release=2
|
|
|
|
source=(https://github.com/pmem/ndctl/archive/v$version/$name-$version-$release.tar.gz)
|
2020-06-14 22:08:21 +00:00
|
|
|
|
|
|
|
build() {
|
2022-03-08 22:26:19 +01:00
|
|
|
meson setup $name-$version build \
|
|
|
|
--prefix=/usr \
|
|
|
|
--buildtype=plain \
|
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
|
|
|
-D asciidoctor=disabled \
|
|
|
|
-D docs=disabled \
|
|
|
|
-D systemd=disabled
|
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2020-06-14 22:08:21 +00:00
|
|
|
}
|