Files
chromebrew/packages/cadaver.rb

30 lines
1.0 KiB
Ruby

require 'package'
class Cadaver < Package
description 'cadaver is a command-line WebDAV client for Unix. It supports file upload, download, on-screen display, namespace operations (move/copy), collection creation and deletion, and locking operations.'
homepage 'https://notroj.github.io/cadaver/'
version '0.24'
license 'GPL-2'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://notroj.github.io/cadaver/cadaver-0.24.tar.gz'
source_sha256 '46cff2f3ebd32cd32836812ca47bcc75353fc2be757f093da88c0dd8f10fd5f6'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '4b9e175b449294a4d73a7cf269d57612486696aec1c5e33963b612fa1f820159',
armv7l: '4b9e175b449294a4d73a7cf269d57612486696aec1c5e33963b612fa1f820159',
x86_64: 'b2ff640177c15881965eb00793da50f184d1a636f65353cdf5079e92bb7d80e0'
})
depends_on 'neon'
def self.build
system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end