pantry/projects/c-ares.org/package.yml

39 lines
956 B
YAML
Raw Normal View History

2023-04-11 23:48:43 +03:00
distributable:
url: https://c-ares.org/download/c-ares-{{version}}.tar.gz
strip-components: 1
versions:
replace hardcoded versions (mostly) (#1733) * update(slirp) * update(poppler-data) * update(doxygen) * update(xcb) * update(sm) * update(xdmcp) * update(ice) * update(util-macros) * update(xtrans) * update(xmu) * update(xt) * update(xau) * update(xrender) * update(x11) * update(xcb-proto) * update(xpm) * update(xaw) * update(xorg-protocol) * update(exts) * update(lame) * update(nmap) * update(cairo) * update(unicode) * update(gts) * update(vim) * update(libtiff) * update(lua) * comment(bpb) * update(giflib) * update(gdk-pixbuf) * update(gobj-intro) * update(libcap2) * update(gnuplot) * update(dav1d) * update(wumpus) * update(librist) * update(subversion) * comment(jbig2dec) * update(moreutils) * update(eigen) * update(ogg) * update(musl) * update(libtool) * update(isl) * update(coreutils) * update(wget) * update(gmp) * update(libiconv) * update(stow) * update(sed) * update(gperf) * update(libunistring) * update(grep) * update(patch) * update(tar) * update(autoconf) * update(libgpg-error) * update(automake) * update(libksba) * update(npth) * update(libgcrypt) * update(libidn) * update(libassuan) * update(gnupg) * update(libtasn1) * update(ncdu) * update(freexl) * update(nasm) * update(ffmpeg) * update(libsodium) * update(mpg123) * update(freetype) * update(dnsmasq) * update(postgres) * update(xz) * update(docutils) * update(aom) * update(libssh) * update(gitlab-cli) * update(watch) * update(tree) * update(c-ares) * update(mpdecimal) * update(lzo) * update(graphviz) * update(nano) * update(yasm) * update(expect) * update(pcre) * update(file) * update(shared-mime-info) * use `gitlab:` builtin
2023-05-01 20:14:59 +03:00
url: https://c-ares.org/download
match: /c-ares-\d+\.\d+\.\d+\.tar\.gz/
strip:
- /c-ares-/
- /.tar.gz/
2023-04-11 23:48:43 +03:00
build:
dependencies:
cmake.org: ^3
2024-05-24 17:35:01 +03:00
curl.se: '*'
2023-04-11 23:48:43 +03:00
working-directory: build
2024-05-24 17:35:01 +03:00
script:
# thirdparty header not packaged in tarball
# https://github.com/c-ares/c-ares/pull/750
- run: curl -O https://opensource.apple.com/source/configd/configd-1109.140.1/dnsinfo/dnsinfo.h
working-directory: ../src/lib/thirdparty/apple
if: '>=1.29.0'
- cmake .. -DCMAKE_INSTALL_PREFIX="{{prefix}}" -DCMAKE_BUILD_TYPE=Release
- make --jobs {{hw.concurrency}} install
2023-04-11 23:48:43 +03:00
test:
fixture: |
#include <stdio.h>
#include <ares.h>
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