Files
chromebrew/packages/sshfs.rb
Maximilian Downey Twiss de24923ee8 Add Rubocop CI (#7083)
* Rename IgnoredPatterns to AllowedPatterns.

* Exclude docopt.rb (not our code) from Rubocop

* Disable Style/RedundantReturn

* Disable Style/MutableConstant

* Disable Style/NumericLiterals

* Set Layout/IndentationStyle to spaces

* Temporarily disable various cops.

* Add Rubocop CI via Octocop

* Lint tree with rubocop -A -c .rubocop.yml

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2022-08-22 13:31:25 -04:00

37 lines
1.5 KiB
Ruby

require 'package'
class Sshfs < Package
description 'A network filesystem client to connect to SSH servers.'
homepage 'https://github.com/libfuse/sshfs'
version '2.10'
license 'GPL-2'
compatibility 'all'
source_url 'https://github.com/libfuse/sshfs/releases/download/sshfs-2.10/sshfs-2.10.tar.gz'
source_sha256 '70845dde2d70606aa207db5edfe878e266f9c193f1956dd10ba1b7e9a3c8d101'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshfs/2.10_armv7l/sshfs-2.10-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshfs/2.10_armv7l/sshfs-2.10-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshfs/2.10_i686/sshfs-2.10-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/sshfs/2.10_x86_64/sshfs-2.10-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '22670d1a6127f7c1e7181af517f0e9242cf7f88645a861f80541f8196bdd815f',
armv7l: '22670d1a6127f7c1e7181af517f0e9242cf7f88645a861f80541f8196bdd815f',
i686: 'ebd6c89d54f1ec9fca31869ad9a41d0d6c422d648658a1296f4bd31249c7b125',
x86_64: 'cef0929354e03eb6b82046218aca8b95284d71249288604c4ce41a699daef1f0'
})
depends_on 'glib'
depends_on 'fuse3'
def self.build
system "./configure --prefix=#{CREW_PREFIX}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end