void-packages/srcpkgs/fuse-sshfs/template
2021-06-10 11:45:55 -03:00

26 lines
780 B
Bash

# Template file for 'fuse-sshfs'
pkgname=fuse-sshfs
version=3.7.2
revision=1
wrksrc="sshfs-${version}"
build_style=meson
configure_args="--sbindir=bin"
hostmakedepends="pkg-config"
makedepends="fuse3-devel libglib-devel python3-docutils"
depends="openssh"
checkdepends="python3-pytest which"
short_desc="FUSE client based on the SSH File Transfer Protocol"
maintainer="skmpz <dem.procopiou@gmail.com>"
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=1c596d42724d13aeba9f49ee127b8ef2fdeb813e25c6018f92d0c9ec4754fa2d
case "${XBPS_TARGET_MACHINE}" in
i686|armv6l|armv7l)
CFLAGS="-D_FILE_OFFSET_BITS=64"
esac
do_check() {
python3 -m pytest
}