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

20 lines
866 B
Ruby

require 'buildsystems/autotools'
class Gengetopt < Autotools
description 'This program generates a C function that uses getopt_long function to parse the command line options, to validate them and fills a struct .'
homepage 'https://www.gnu.org/software/gengetopt/'
version '2.23'
license 'GPL-3'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/gengetopt/gengetopt-2.23.tar.xz'
source_sha256 'b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac'
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'ad134cbf8d8cbc36a589dce0013b9f952d122700df4bab2c3cd40bc17d2a7a01',
armv7l: 'ad134cbf8d8cbc36a589dce0013b9f952d122700df4bab2c3cd40bc17d2a7a01',
i686: 'a0f64b05cbdc817d908e19031930c9624abcbd04b8865f144b3d448ed6573ac7',
x86_64: '002712609debd70bb81c76809c627914bcf7f4467f0bfdcfb5052b9f7fd19c50'
})
end