void-packages/srcpkgs/c-ares/template
techflashYT 891115b52a
c-ares: update to 1.30.0.
c-ares' new version is 1.30.0, and the current 1.29.0 doesn't build due to a missing download link.
Fix both problems at once to get the package building again.

Closes: #50739 [via git-merge-pr]
2024-06-10 13:31:54 +02:00

30 lines
822 B
Bash

# Template file for 'c-ares'
pkgname=c-ares
version=1.30.0
revision=1
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.org/"
changelog="https://c-ares.org/changelog.html"
distfiles="https://github.com/c-ares/c-ares/releases/download/v${version}/c-ares-${version}.tar.gz"
checksum=4fea312112021bcef081203b1ea020109842feb58cd8a36a3d3f7e0d8bc1138c
make_check=ci-skip # segfaults only on CI
post_install() {
vlicense LICENSE.md LICENSE
}
c-ares-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}