mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-14 18:22:41 +02:00
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
# Contributor: Florian Heigl <florian.heigl@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=nvme-cli
|
|
pkgver=2.6
|
|
pkgrel=0
|
|
pkgdesc="NVM-Express user space tooling for Linux"
|
|
arch="all"
|
|
url="https://github.com/linux-nvme/nvme-cli"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
bash
|
|
libnvme-dev
|
|
linux-headers
|
|
meson
|
|
util-linux-dev
|
|
uuidgen
|
|
zlib-dev
|
|
"
|
|
checkdepends="
|
|
py3-nose2
|
|
"
|
|
subpackages="
|
|
$pkgname-doc
|
|
$pkgname-bash-completion
|
|
$pkgname-zsh-completion
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/linux-nvme/nvme-cli/archive/v$pkgver.tar.gz"
|
|
options="!check" # needs pci nvme stuff
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Ddocs=man \
|
|
-Dudevrulesdir=/usr/lib/udev/rules.d/ \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs --no-rebuild -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
rm -rf "$pkgdir"/usr/lib/systemd
|
|
}
|
|
|
|
sha512sums="
|
|
da4daef2d7c554455e0c195c03f92188e0e946409a3bd8a5b421d9a106746e82fb1309901d2893639b1a3447bda094c80a9f49f59bf43cf2b00402f82beea3fc nvme-cli-2.6.tar.gz
|
|
"
|