mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* Update acpica homepage * Update aide homepage * Update aliyun_cli homepage * Update alpine homepage * Update anagram source_url * Update ant homepage * Update apktool homepage * Update appres homepage * Update appstream homepage * Update apr_iconv homepage * Update apr_util homepage * Update armadillo homepage * Update asciidoc homepage * Update at_spi2_core homepage * Update avahi homepage * Update aview homepage * Update babl homepage * Update balena_etcher homepage * Update banner homepage * Update bashdb homepage * Update bdftopcf homepage * Update bind homepage * Update bitmap homepage * Update bitpocket homepage * Update bluefish homepage * Update bmon homepage * Update brackets homepage * Update broadway homepage * Update broot homepage * Update byobu homepage * Update c_ares homepage * Update calcurse homepage * Update ccache homepage * Update cf homepage * Update chrome homepage * Update chrpath homepage * Update ck4up homepage * Update ckermit homepage
28 lines
888 B
Ruby
28 lines
888 B
Ruby
require 'buildsystems/cmake'
|
|
|
|
class C_ares < CMake
|
|
description 'C library for asynchronous DNS requests (including name resolves).'
|
|
homepage 'https://c-ares.org/'
|
|
version '1.23.0'
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/c-ares/c-ares.git'
|
|
git_hashtag "cares-#{version.gsub('.', '_')}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: '70191e6614bdbcdb3bafe196af1ba643b2506e7b394417ed59e2ed532d057ce7',
|
|
armv7l: '70191e6614bdbcdb3bafe196af1ba643b2506e7b394417ed59e2ed532d057ce7',
|
|
i686: '4ceee8430606e7f1d9085b9d96b36a5a9b54a8a4561674b8826c013f1952ec16',
|
|
x86_64: 'e7a8595eaa6e95ecbb25c9568eac8fb6aa39e4ac0f462b32ad2b05f8bfa4dde6'
|
|
})
|
|
|
|
depends_on 'glibc' # R
|
|
|
|
cmake_options '-DCARES_STATIC=ON \
|
|
-DCARES_STATIC_PIC=ON \
|
|
-DCARES_BUILD_TESTS=OFF \
|
|
-DCARES_BUILD_TOOLS=ON \
|
|
-DCARES_SHARED=ON'
|
|
end
|