nvme-cli: update to 2.2.1
This commit is contained in:
parent
795f120a47
commit
6862d30175
|
@ -1,17 +1,17 @@
|
|||
# Template file for 'nvme-cli'
|
||||
pkgname=nvme-cli
|
||||
version=2.1.2
|
||||
version=2.2.1
|
||||
revision=1
|
||||
build_style=meson
|
||||
configure_args="-Ddocs=man -Dudevrulesdir=lib/udev/rules.d"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libnvme-devel zlib-devel json-c-devel libuuid-devel"
|
||||
makedepends="libnvme-devel zlib-devel json-c-devel"
|
||||
short_desc="NVMe management command line interface"
|
||||
maintainer="Subhaditya Nath <sn03.general@gmail.com>"
|
||||
license="GPL-2.0-only"
|
||||
homepage="http://nvmexpress.org"
|
||||
distfiles="https://github.com/linux-nvme/nvme-cli/archive/v${version}.tar.gz"
|
||||
checksum=b39811fd2ab8005d515f2f539984cc08f9ab1fe34e5359da10091fdf153df231
|
||||
checksum=68720bc25c68adb93dafe1186de4fabbe40f8390ff1416256b52fe74f78259ae
|
||||
conf_files="/etc/nvme/*.conf"
|
||||
|
||||
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
||||
|
@ -21,8 +21,7 @@ else
|
|||
fi
|
||||
|
||||
post_install() {
|
||||
# remove files that are systemd-only
|
||||
rm -rf "${DESTDIR}/usr/lib/systemd"
|
||||
rm -rf "${DESTDIR}/usr/lib/udev/rules.d/70-nvmf-autoconnect.rules" # calls systemctl
|
||||
rm -rf "${DESTDIR}/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf" # needs 70-nvmf-autoconnect.rules
|
||||
# remove files that need systemd
|
||||
rm "${DESTDIR}/usr/lib/udev/rules.d/70-nvmf-autoconnect.rules" # calls systemctl
|
||||
rm "${DESTDIR}/usr/lib/dracut/dracut.conf.d/70-nvmf-autoconnect.conf" # needs 70-nvmf-autoconnect.rules
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue