mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* expat -> 2.7.5 in updater-expat-2.7.5 * updater-expat-2.7.5: Package File Update Run on linux/386 container. * updater-expat-2.7.5: Package File Update Run on linux/amd64 container. * updater-expat-2.7.5: Package File Update Run on linux/arm/v7 container. --------- Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
28 lines
906 B
Ruby
28 lines
906 B
Ruby
require 'buildsystems/cmake'
|
|
|
|
class Expat < CMake
|
|
description 'James Clark\'s Expat XML parser library in C.'
|
|
homepage 'https://github.com/libexpat/libexpat'
|
|
version '2.7.5'
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/libexpat/libexpat.git'
|
|
git_hashtag "R_#{version.split('-').first.gsub('.', '_')}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '4e292cf125e956d87f53ccc6dd9b54b2e21f9abca58298c2f3356a6158a8dd9d',
|
|
armv7l: '4e292cf125e956d87f53ccc6dd9b54b2e21f9abca58298c2f3356a6158a8dd9d',
|
|
i686: 'e960f541c6d5f500618fd60b070c08b83669ff142f6d2e4c3d0bbdc7f1df373d',
|
|
x86_64: '51b51d8a05143122359ba2197011d99e78f8158d741b599557391c73ced2a5b4'
|
|
})
|
|
|
|
depends_on 'glibc' # R
|
|
run_tests
|
|
|
|
cmake_build_relative_dir 'expat'
|
|
cmake_options '-DEXPAT_BUILD_DOCS=OFF \
|
|
-DEXPAT_BUILD_EXAMPLES=OFF \
|
|
-DBUILD_SHARED_LIBS=ON'
|
|
end
|