void-packages/srcpkgs/fuse-sshfs/template

27 lines
775 B
Bash

# Template file for 'fuse-sshfs'
pkgname=fuse-sshfs
version=3.6.0
revision=1
wrksrc="sshfs-${version}"
build_style=meson
configure_args="--sbindir=bin"
hostmakedepends="pkg-config"
makedepends="fuse3-devel libglib-devel python-docutils"
depends="openssh"
checkdepends="python3-pytest"
short_desc="FUSE client based on the SSH File Transfer Protocol"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/libfuse/sshfs"
distfiles="https://github.com/libfuse/sshfs/releases/download/sshfs-${version}/sshfs-${version}.tar.xz"
checksum=1679b5543a6db2e93e06dbcdc9247b35df64c3148e2c30f80764f4813bd6c270
case "${XBPS_TARGET_MACHINE}" in
i686|armv6l|armv7l)
CFLAGS+=" -D_FILE_OFFSET_BITS=64"
esac
do_check() {
python3 -m pytest
}