# yaml-language-server: $schema=/usr/share/ypkg/schema/schema.json name : c-ares version : 1.34.6 release : 17 source : - https://github.com/c-ares/c-ares/releases/download/v1.34.6/c-ares-1.34.6.tar.gz : 912dd7cc3b3e8a79c52fd7fb9c0f4ecf0aaa73e45efda880266a2d6e26b84ef5 homepage : https://c-ares.org/ license : MIT component : programming.library summary : C library that performs DNS requests and name resolves asynchronously description: | This is c-ares, an asynchronous resolver library. It is intended for applications which need to perform DNS queries without blocking, or need to perform multiple DNS queries in parallel. The primary examples of such applications are servers which communicate with multiple clients and programs with graphical user interfaces. builddeps : - pkgconfig(gtest) clang : true optimize : thin-lto setup : | %patch -p1 -i $pkgfiles/Remove-live-tests.patch %cmake_ninja -DCARES_BUILD_TESTS=ON build : | %ninja_build install : | %ninja_install check : | %ninja_check