mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS * Rename build_extras and install_extras to configure_build_extras and configure_install_extras
38 lines
1.1 KiB
Ruby
38 lines
1.1 KiB
Ruby
require 'package'
|
|
|
|
class Xfsprogs < Package
|
|
description 'XFS filesystem utilities'
|
|
homepage 'https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/'
|
|
version '6.10.0-icu75.1'
|
|
license 'LGPL-2.1'
|
|
compatibility 'x86_64 aarch64 armv7l'
|
|
source_url 'https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git'
|
|
git_hashtag "v#{version.split('-').first}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'edfedaafb5628103542d0d04f7f8f64a4f0294030858f20f07eb6e389b9d990d',
|
|
armv7l: 'edfedaafb5628103542d0d04f7f8f64a4f0294030858f20f07eb6e389b9d990d',
|
|
x86_64: 'cac83ba68c33b9518f1235c10c8af842308be2460bdc15f219d26d01766eed37'
|
|
})
|
|
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'gettext' => :build
|
|
depends_on 'glibc' # R
|
|
depends_on 'icu4c' # R
|
|
depends_on 'libinih' # R
|
|
depends_on 'liburcu' # R
|
|
depends_on 'lvm2' # R
|
|
depends_on 'util_linux' # R
|
|
|
|
def self.build
|
|
system 'make configure'
|
|
system "DEBUG=-DNDEBUG ./configure #{CREW_CONFIGURE_OPTIONS}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system "make DIST_ROOT=#{CREW_DEST_DIR} install install-dev"
|
|
end
|
|
end
|