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

23 lines
950 B
Ruby

require 'buildsystems/autotools'
class Bison < Autotools
description 'Bison is a general-purpose parser generator that converts an annotated context-free grammar into a deterministic LR or generalized LR (GLR) parser employing LALR(1) parser tables.'
homepage 'https://www.gnu.org/software/bison/'
version '3.8.2'
license 'GPL-2'
compatibility 'all'
source_url "https://ftpmirror.gnu.org/bison/bison-#{version}.tar.lz"
source_sha256 'fdf98bfe82abb04a34d4356753f7748dbbd2ef1221b1f202852a2b5ce0f78534'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '5c7748f4fd47bd81bad984cb278df1561407b43ea3601d2c49ccaa752119dae4',
armv7l: '5c7748f4fd47bd81bad984cb278df1561407b43ea3601d2c49ccaa752119dae4',
i686: '8b8120f98e4707695a337d4ac0b21fc0bc26e1a1ee734e4b191420988601d576',
x86_64: '4476aa49cf42b79a2fed31e77a7d1df7e11aebb3bf269d036c2666d2ab7e238a'
})
depends_on 'gettext' # R
depends_on 'glibc' # R
end