blob: f5563d113347638ce6cb747e394205c24d77550b (
plain)
1 # Description: Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
2 # URL: https://github.com/pmem/ndctl
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: iniparser json-c keyutils meson ninja
5
6 name=ndctl
7 version=75
8 release=1
9 source=(https://github.com/pmem/ndctl/archive/v$version/$name-$version-$release.tar.gz)
10
11 build() {
12 meson setup $name-$version build \
13 --prefix=/usr \
14 --buildtype=plain \
15 --wrap-mode nodownload \
16 -D b_lto=false \
17 -D b_pie=true \
18 -D asciidoctor=disabled \
19 -D docs=disabled \
20 -D systemd=disabled
21 meson compile -C build
22 DESTDIR=$PKG meson install -C build
23 }
|