Files
chromebrew/packages/exfatprogs.rb
Maximilian Downey Twiss f6dc1d8d4e Derive binary_url in package.rb (#7082)
* Add binary_compression value to each package

* Remove binary_url values and arrays

* Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
2024-01-25 11:03:31 -05:00

32 lines
962 B
Ruby

require 'package'
class Exfatprogs < Package
description 'exFAT filesystem userspace utilities for the Linux Kernel exfat driver.'
homepage 'https://github.com/exfatprogs/exfatprogs'
version '1.2.0'
license 'GPL-2'
compatibility 'all'
source_url 'https://github.com/exfatprogs/exfatprogs.git'
git_hashtag version
binary_compression 'tar.zst'
binary_sha256({
aarch64: '3549b44369753a5372ebe620309468cd0ccf2e3814aadbec75c2077f4c035841',
armv7l: '3549b44369753a5372ebe620309468cd0ccf2e3814aadbec75c2077f4c035841',
i686: 'ccdcf93768f7ddc060364bf9953a2e903c669866dafa08141e33a075bb660059',
x86_64: 'fd89fc698d84aebcba7d97ca7f62d26181393bbb2878dda78d18d4773f8c3ba5'
})
depends_on 'glibc' # R
def self.build
system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system "./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end