2022-08-18 10:23:49 -05:00
|
|
|
# Description: C library for NVM Express on Linux
|
|
|
|
# URL: https://github.com/linux-nvme/libnvme
|
|
|
|
# Maintainer: Matt Housh, jaeger at crux dot ninja
|
2023-02-03 11:04:49 -06:00
|
|
|
# Depends on: meson ninja json-c dbus
|
2022-08-18 10:23:49 -05:00
|
|
|
|
|
|
|
name=libnvme
|
2024-12-04 11:05:03 -06:00
|
|
|
version=1.11.1
|
2025-01-16 15:18:04 -06:00
|
|
|
release=2
|
2022-08-18 10:23:49 -05:00
|
|
|
source=(https://github.com/linux-nvme/$name/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2024-02-20 14:39:58 -06:00
|
|
|
meson setup $name-$version build \
|
|
|
|
--prefix=/usr \
|
2025-01-16 15:18:04 -06:00
|
|
|
--buildtype=plain \
|
|
|
|
--default-library=both
|
2024-02-20 14:39:58 -06:00
|
|
|
meson compile -C build
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2022-08-18 10:23:49 -05:00
|
|
|
}
|