New package: virtiofsd-1.8.0

This commit is contained in:
Matthias von Faber 2023-09-28 00:44:22 +02:00 committed by Đoàn Trần Công Danh
parent ac4b07e98c
commit ed7a0fdc25

View file

@ -0,0 +1,27 @@
# Template file for 'virtiofsd'
pkgname=virtiofsd
version=1.8.0
revision=1
build_style=cargo
makedepends="libcap-ng-devel libseccomp-devel"
short_desc="Virtio-fs vhost-user device daemon"
maintainer="Matthias von Faber <mvf@gmx.eu>"
license="Apache-2.0, BSD-3-Clause"
homepage="https://gitlab.com/virtio-fs/virtiofsd"
distfiles="https://gitlab.com/virtio-fs/virtiofsd/-/archive/v${version}/virtiofsd-v${version}.tar.gz"
checksum=35a59628c44da64d72b25cbdea54fe2fa68ecd42482f34c4755f4020e6dc280b
if [ "$XBPS_TARGET_WORDSIZE" = 32 ]; then
broken="https://gitlab.com/virtio-fs/virtiofsd/-/issues/114"
fi
do_install() {
vinstall "target/${RUST_TARGET}/release/virtiofsd" 755 usr/libexec
vinstall 50-qemu-virtiofsd.json 644 usr/share/qemu/vhost-user
vdoc README.md
vdoc doc/xattr-mapping.md
vlicense LICENSE-APACHE
vlicense LICENSE-BSD-3-Clause
}