mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* Add dep Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/386 to cares * Add built packages for linux/amd64 to cares * Add built packages for linux/arm/v7 to cares --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
26 lines
821 B
Ruby
26 lines
821 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.34.5'
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/c-ares/c-ares.git'
|
|
git_hashtag "v#{version}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'e946408d9f4401454c58118bc7432cc3c1d3f1ce21eec634361f28bf6e41309b',
|
|
armv7l: 'e946408d9f4401454c58118bc7432cc3c1d3f1ce21eec634361f28bf6e41309b',
|
|
i686: 'f5d7317b9e8de227905e47b8bdb652541b7bb55f4674042117d678701a9f789e',
|
|
x86_64: '05bca72458ec98f3e30a98701faf78348efe71c45531b63f300e3bce63d9a598'
|
|
})
|
|
|
|
depends_on 'docbook2x' => :build
|
|
depends_on 'glibc' # R
|
|
|
|
cmake_options '-DCARES_BUILD_TESTS=OFF \
|
|
-DCARES_BUILD_TOOLS=ON'
|
|
end
|