Files
chromebrew/packages/tar.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

25 lines
920 B
Ruby

require 'buildsystems/autotools'
class Tar < Autotools
description 'GNU Tar provides the ability to create tar archives, as well as various other kinds of manipulation.'
homepage 'https://www.gnu.org/software/tar/'
version '1.35'
license 'BSD'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/gnu/tar/tar-1.35.tar.xz'
source_sha256 '4d62ff37342ec7aed748535323930c7cf94acf71c3591882b26a7ea50f3edc16'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '2c9d3d099f95858ea9eefc15efdf082b1a60f891f1eaeab96973d448caf34351',
armv7l: '2c9d3d099f95858ea9eefc15efdf082b1a60f891f1eaeab96973d448caf34351',
i686: '52018d0418db20f3d38bfcd200f01e1c0081d9abcd6f1b21b3edd47672247b2a',
x86_64: '860624ccd43ece3195914c147943241ccad087a9eefb44ddc32e4120454a871e'
})
depends_on 'acl' # R
depends_on 'glibc' # R
configure_options '--disable-year2038' unless ARCH == 'x86_64'
end