24 lines
682 B
Plaintext
24 lines
682 B
Plaintext
# Description: Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
|
|
# URL: https://github.com/pmem/ndctl
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: iniparser json-c keyutils meson ninja
|
|
|
|
name=ndctl
|
|
version=73
|
|
release=2
|
|
source=(https://github.com/pmem/ndctl/archive/v$version/$name-$version-$release.tar.gz)
|
|
|
|
build() {
|
|
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
|
|
}
|