mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
* e2fsprogs => 1.47.3 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * updater-e2fsprogs-1.47.3: Build Run on linux/arm/v7. * updater-e2fsprogs-1.47.3: Build Run on linux/386. * updater-e2fsprogs-1.47.3: Build Run on linux/amd64. * updater-e2fsprogs-1.47.3: Package File Update Run on linux/386 container. * Update anitya exclusions. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * lint Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
49 lines
1.4 KiB
Ruby
49 lines
1.4 KiB
Ruby
require 'package'
|
|
|
|
class E2fsprogs < Package
|
|
description 'e2fsprogs are ext2/3/4 file system utilities.'
|
|
homepage 'https://e2fsprogs.sourceforge.net/'
|
|
version '1.47.3'
|
|
license 'GPL-2 and BSD'
|
|
compatibility 'all'
|
|
source_url "https://mirrors.edge.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v#{version}/e2fsprogs-#{version}.tar.xz"
|
|
source_sha256 '144af53f2bbd921cef6f8bea88bb9faddca865da3fbc657cc9b4d2001097d5db'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '6fc5f306eb85311da4c149c27698af90112dc65ffa15dce34d0227fc833a4e2e',
|
|
armv7l: '6fc5f306eb85311da4c149c27698af90112dc65ffa15dce34d0227fc833a4e2e',
|
|
i686: '3d0e8ac3f57682f35c69e52d3fd905b76e535422c1f87eb3faa5b531846739f6',
|
|
x86_64: 'c158544f1f6202ca7c8e4eaf29fd889527b7e50ef02b38ef54d6160397e2823d'
|
|
})
|
|
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'util_linux' # R
|
|
|
|
def self.build
|
|
system "./configure #{CREW_CONFIGURE_OPTIONS}\
|
|
--enable-elf-shlibs \
|
|
--enable-lto \
|
|
--disable-libblkid \
|
|
--disable-libuuid \
|
|
--disable-uuidd \
|
|
--disable-fsck"
|
|
system 'make'
|
|
end
|
|
|
|
def self.check
|
|
# j_recover_fast_commit fails on armv7l
|
|
# r_corrupt_fs fails on i686
|
|
case ARCH
|
|
when 'x86_64'
|
|
system 'make', 'check'
|
|
end
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install-libs'
|
|
end
|
|
end
|