void-packages/srcpkgs/virtiofsd/template

28 lines
848 B
Bash

# Template file for 'virtiofsd'
pkgname=virtiofsd
version=1.12.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=cb0fc7c781cff01c8e1a05f8c8113c1ae8fd2ef555bc9d1d9ed983438e4c96c4
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-virtiofsd.json 644 usr/share/qemu/vhost-user
vdoc README.md
vdoc doc/xattr-mapping.md
vlicense LICENSE-APACHE
vlicense LICENSE-BSD-3-Clause
}