c-ares: switch back from cmake to autotools to break cycle

Closes: #43362
This commit is contained in:
Duncaen 2023-04-10 01:42:30 +02:00
parent 994d3167e9
commit f005a7e134
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35
2 changed files with 3 additions and 22 deletions

View file

@ -1 +0,0 @@
c-ares

View file

@ -1,27 +1,18 @@
# Template file for 'c-ares'
pkgname=c-ares
version=1.19.0
revision=1
build_style=cmake
configure_args="
-DCARES_STATIC=ON
-DCARES_SHARED=ON"
revision=2
build_style=gnu-configure
checkdepends="iana-etc"
short_desc="Library for asynchronous DNS requests"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="https://c-ares.haxx.se/"
changelog="https://c-ares.haxx.se/changelog.html"
distfiles="${homepage}/download/${pkgname}-${version}.tar.gz"
distfiles="https://c-ares.haxx.se/download/c-ares-${version}.tar.gz"
checksum=bfceba37e23fd531293829002cac0401ef49a6dc55923f7f92236585b7ad1dd3
make_check=ci-skip # segfaults only on CI
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DCARES_BUILD_TESTS=ON"
else
configure_args+=" -DCARES_BUILD_TESTS=OFF"
fi
post_install() {
vlicense LICENSE.md LICENSE
}
@ -34,15 +25,6 @@ c-ares-devel_package() {
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
vmove usr/share/man/man3
}
}
c-ares-utils_package() {
short_desc+=" - utilities"
pkg_install() {
vmove usr/bin
vmove usr/share/man/man1
}
}