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
|
2023-08-05 09:45:08 +02:00
|
|
|
version=78
|
2022-08-25 21:34:41 +02:00
|
|
|
release=1
|
2022-03-25 16:31:15 +01:00
|
|
|
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 \
|
2022-08-25 21:34:41 +02:00
|
|
|
-D b_lto=false \
|
2022-03-08 22:26:19 +01:00
|
|
|
-D b_pie=true \
|
|
|
|
-D asciidoctor=disabled \
|
|
|
|
-D docs=disabled \
|
2023-02-25 12:34:02 +01:00
|
|
|
-D systemd=disabled \
|
|
|
|
-D libtracefs=disabled
|
2022-03-08 22:26:19 +01:00
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2023-05-03 17:00:48 +02:00
|
|
|
|
|
|
|
prt-get isinst bash-completion || rm -rf $PKG/usr/share/bash-completion
|
2020-06-14 22:08:21 +00:00
|
|
|
}
|