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

27 lines
851 B
Ruby

require 'buildsystems/cmake'
class Ledger < CMake
description 'A double-entry accounting system with a command-line reporting interface'
homepage 'https://www.ledger-cli.org/'
version '3.3.2'
license 'BSD'
compatibility 'all'
source_url 'https://github.com/ledger/ledger.git'
git_hashtag "v#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'a078d15274360b4f03558eca8ac4128536bffa774d3bc0a432802f89369b19c3',
armv7l: 'a078d15274360b4f03558eca8ac4128536bffa774d3bc0a432802f89369b19c3',
i686: '8ba30162cc4c1b55a6e47e590bde549b24e7a91dfbdc2f7f04870069897891ce',
x86_64: 'e15d098bd64cd861eead5b792cf74703dd1a98b0e3adecda13baeb6cc4ef3fe1'
})
depends_on 'boost' # R
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'gmp' # R
depends_on 'libedit' # R
depends_on 'mpfr' # R
end