Files
chromebrew/packages/exfatprogs.rb
Maximilian Downey Twiss f6b6cab229 Rename autotools constants to fall in line with the rest of crew (#10442)
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS

* Rename build_extras and install_extras to configure_build_extras and configure_install_extras
2024-09-09 18:21:58 -05:00

32 lines
972 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_CONFIGURE_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end