Files
chromebrew/packages/libunistring.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
988 B
Ruby

require 'buildsystems/autotools'
class Libunistring < Autotools
description 'A library that provides functions for manipulating Unicode strings and for manipulating C strings according to the Unicode standard.'
homepage 'https://www.gnu.org/software/libunistring/'
version '1.1'
license 'LGPL-3+ or GPL-2+ and FDL-1.2 or GPL-3+'
compatibility 'all'
source_url 'https://ftpmirror.gnu.org/libunistring/libunistring-1.1.tar.xz'
source_sha256 '827c1eb9cb6e7c738b171745dac0888aa58c5924df2e59239318383de0729b98'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '09608afc35eb1786fd6971351bd0bcde0c57296c43e0b8cfdfcbf8910d308935',
armv7l: '09608afc35eb1786fd6971351bd0bcde0c57296c43e0b8cfdfcbf8910d308935',
i686: '64f4a8775f607f477ba256aa0f1733f94176f99dfe58d55d4fc3b29bf3480cd6',
x86_64: 'b92ce0d125d451d35b0604e8282288b9a9f6be36d8f76c88b20f9143cbcb773f'
})
depends_on 'glibc'
configure_options '--enable-static \
--enable-shared'
end