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

26 lines
815 B
Ruby

require 'buildsystems/autotools'
class Jq < Autotools
description 'jq is a lightweight and flexible command-line JSON processor.'
homepage 'https://stedolan.github.io/jq/'
@_ver = '1.7'
version @_ver
license 'MIT and CC-BY-3.0'
compatibility 'all'
source_url 'https://github.com/stedolan/jq.git'
git_hashtag "jq-#{@_ver}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '15ef868608c85cbac630d00281ffa6b50d3513cb2fa268f19aab9fefdc145c83',
armv7l: '15ef868608c85cbac630d00281ffa6b50d3513cb2fa268f19aab9fefdc145c83',
i686: '2fe7d41c40699c57822393b5b3606f43641750e743751db729c153357924ea8e',
x86_64: '5391d895d83e5c79eca278380ea062dc28478eeaa7afe2d900adcd64bcf7e12d'
})
depends_on 'glibc'
configure_options '--disable-maintainer-mode \
--disable-docs'
end