c-ares: switch back from cmake to autotools to break cycle
Closes: #43362
This commit is contained in:
parent
994d3167e9
commit
f005a7e134
2 changed files with 3 additions and 22 deletions
|
@ -1 +0,0 @@
|
||||||
c-ares
|
|
|
@ -1,27 +1,18 @@
|
||||||
# Template file for 'c-ares'
|
# Template file for 'c-ares'
|
||||||
pkgname=c-ares
|
pkgname=c-ares
|
||||||
version=1.19.0
|
version=1.19.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=gnu-configure
|
||||||
configure_args="
|
|
||||||
-DCARES_STATIC=ON
|
|
||||||
-DCARES_SHARED=ON"
|
|
||||||
checkdepends="iana-etc"
|
checkdepends="iana-etc"
|
||||||
short_desc="Library for asynchronous DNS requests"
|
short_desc="Library for asynchronous DNS requests"
|
||||||
maintainer="Duncaen <duncaen@voidlinux.org>"
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://c-ares.haxx.se/"
|
homepage="https://c-ares.haxx.se/"
|
||||||
changelog="https://c-ares.haxx.se/changelog.html"
|
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
|
checksum=bfceba37e23fd531293829002cac0401ef49a6dc55923f7f92236585b7ad1dd3
|
||||||
make_check=ci-skip # segfaults only on CI
|
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() {
|
post_install() {
|
||||||
vlicense LICENSE.md LICENSE
|
vlicense LICENSE.md LICENSE
|
||||||
}
|
}
|
||||||
|
@ -34,15 +25,6 @@ c-ares-devel_package() {
|
||||||
vmove "usr/lib/*.a"
|
vmove "usr/lib/*.a"
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove usr/lib/cmake
|
|
||||||
vmove usr/share/man/man3
|
vmove usr/share/man/man3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
c-ares-utils_package() {
|
|
||||||
short_desc+=" - utilities"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/bin
|
|
||||||
vmove usr/share/man/man1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue