c-ares: update to 1.19.0.
This commit is contained in:
parent
85fb983dfc
commit
ae659665e3
|
@ -0,0 +1 @@
|
|||
c-ares
|
|
@ -1,23 +1,26 @@
|
|||
# Template file for 'c-ares'
|
||||
pkgname=c-ares
|
||||
version=1.18.1
|
||||
version=1.19.0
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
build_style=cmake
|
||||
configure_args="
|
||||
-DCARES_STATIC=ON
|
||||
-DCARES_SHARED=ON"
|
||||
checkdepends="iana-etc"
|
||||
short_desc="C library that performs DNS requests and name resolves asynchronously"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
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"
|
||||
checksum=1a7d52a8a84a9fbffb1be9133c0f6e17217d91ea5a6fa61f6b4729cda78ebbcf
|
||||
checksum=bfceba37e23fd531293829002cac0401ef49a6dc55923f7f92236585b7ad1dd3
|
||||
make_check=ci-skip # segfaults only on CI
|
||||
|
||||
pre_configure() {
|
||||
export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=?/}
|
||||
export CPPFLAGS+=" -D_FORTIFY_SOURCE=2"
|
||||
export CFLAGS=${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/}
|
||||
}
|
||||
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
|
||||
|
@ -25,11 +28,21 @@ post_install() {
|
|||
|
||||
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/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/share/man
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue