opt/libnvme/Pkgfile

19 lines
510 B
Plaintext

# Description: C library for NVM Express on Linux
# URL: https://github.com/linux-nvme/libnvme
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: meson ninja json-c dbus
name=libnvme
version=1.11.1
release=2
source=(https://github.com/linux-nvme/$name/archive/v$version/$name-$version.tar.gz)
build() {
meson setup $name-$version build \
--prefix=/usr \
--buildtype=plain \
--default-library=both
meson compile -C build
DESTDIR=$PKG meson install -C build
}