mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* expat 2.6.4 => 2.7.1 * Add built packages for linux/386 to update-expat * Add built packages for linux/amd64 to update-expat * Add built packages for linux/arm/v7 to update-expat --------- Co-authored-by: SupeChicken666 <supechicken666@gmail.com> Co-authored-by: supechicken <supechicken@users.noreply.github.com>
27 lines
854 B
Ruby
27 lines
854 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.1'
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/libexpat/libexpat.git'
|
|
git_hashtag "R_#{version.gsub('.', '_')}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'eecda9a8b2b6958c8f7fa9cc0b8d4c02583ad5f8f2645af86a90cb14d0c28cf3',
|
|
armv7l: 'eecda9a8b2b6958c8f7fa9cc0b8d4c02583ad5f8f2645af86a90cb14d0c28cf3',
|
|
i686: 'b1147c02b294454066f7edb0c466e7e2c0f9caad4eeaf02b996059bc0720c756',
|
|
x86_64: '0e522946e938d9b929d7936e6c49da49f81a56935514590b97807d120ab3c4e9'
|
|
})
|
|
|
|
depends_on 'glibc' # R
|
|
run_tests
|
|
|
|
cmake_build_relative_dir 'expat'
|
|
cmake_options '-DEXPAT_BUILD_EXAMPLES=OFF \
|
|
-DBUILD_SHARED_LIBS=ON'
|
|
end
|