31 lines
799 B
Bash
31 lines
799 B
Bash
# Template file for 'c-ares'
|
|
pkgname=c-ares
|
|
version=1.27.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.haxx.se/"
|
|
changelog="https://c-ares.haxx.se/changelog.html"
|
|
distfiles="https://c-ares.haxx.se/download/c-ares-${version}.tar.gz"
|
|
checksum=0a72be66959955c43e2af2fbd03418e82a2bd5464604ec9a62147e37aceb420b
|
|
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
|
|
}
|
|
}
|