From 37b439152d9492ada99be880db99eaefa603924c Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Tue, 30 Mar 2021 19:16:54 +0200 Subject: Add sshfs (#22636) --- var/spack/repos/builtin/packages/sshfs/package.py | 25 +++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 var/spack/repos/builtin/packages/sshfs/package.py diff --git a/var/spack/repos/builtin/packages/sshfs/package.py b/var/spack/repos/builtin/packages/sshfs/package.py new file mode 100644 index 0000000000..6145b9a16e --- /dev/null +++ b/var/spack/repos/builtin/packages/sshfs/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Sshfs(MesonPackage): + """SSHFS allows you to mount a remote filesystem using SFTP.""" + + homepage = "https://github.com/libfuse/sshfs" + url = "https://github.com/libfuse/sshfs/releases/download/sshfs-3.7.1/sshfs-3.7.1.tar.xz" + git = "https://github.com/libfuse/sshfs.git" + + maintainers = ['haampie'] + + version('3.7.1', sha256='fe5d3436d61b46974889e0c4515899c21a9d67851e3793c209989f72353d7750') + + depends_on('glib') + depends_on('libfuse@3.1.0:') + + # used for libfuse; when libfuse is external, make sure that pkgconfig is + # external too, since spack's pkgconfig might not be able to locate libfuse. + depends_on('pkgconfig', type='build') -- cgit v1.2.3-70-g09d2