distributable: url: https://c-ares.org/download/c-ares-{{version}}.tar.gz strip-components: 1 versions: - 1.19.0 build: dependencies: tea.xyz/gx/cc: c99 tea.xyz/gx/make: '*' cmake.org: ^3 working-directory: build script: | cmake .. -DCMAKE_INSTALL_PREFIX="{{prefix}}" -DCMAKE_BUILD_TYPE=Release make --jobs {{hw.concurrency}} install test: dependencies: tea.xyz/gx/cc: c99 fixture: | #include #include int main() { ares_library_init(ARES_LIB_INIT_ALL); ares_library_cleanup(); return 0; } script: | mv $FIXTURE b.c cc b.c -lcares ./a.out