c-ares: update to 1.19.0.
This commit is contained in:
parent
85fb983dfc
commit
ae659665e3
2 changed files with 27 additions and 13 deletions
1
srcpkgs/c-ares-utils
Symbolic link
1
srcpkgs/c-ares-utils
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
c-ares
|
|
@ -1,23 +1,26 @@
|
||||||
# Template file for 'c-ares'
|
# Template file for 'c-ares'
|
||||||
pkgname=c-ares
|
pkgname=c-ares
|
||||||
version=1.18.1
|
version=1.19.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=cmake
|
||||||
|
configure_args="
|
||||||
|
-DCARES_STATIC=ON
|
||||||
|
-DCARES_SHARED=ON"
|
||||||
checkdepends="iana-etc"
|
checkdepends="iana-etc"
|
||||||
short_desc="C library that performs DNS requests and name resolves asynchronously"
|
short_desc="Library for asynchronous DNS requests"
|
||||||
maintainer="Orphaned <orphan@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="${homepage}/download/${pkgname}-${version}.tar.gz"
|
||||||
checksum=1a7d52a8a84a9fbffb1be9133c0f6e17217d91ea5a6fa61f6b4729cda78ebbcf
|
checksum=bfceba37e23fd531293829002cac0401ef49a6dc55923f7f92236585b7ad1dd3
|
||||||
make_check=ci-skip # segfaults only on CI
|
make_check=ci-skip # segfaults only on CI
|
||||||
|
|
||||||
pre_configure() {
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
||||||
export CFLAGS=${CFLAGS/-D_FORTIFY_SOURCE=?/}
|
configure_args+=" -DCARES_BUILD_TESTS=ON"
|
||||||
export CPPFLAGS+=" -D_FORTIFY_SOURCE=2"
|
else
|
||||||
export CFLAGS=${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/}
|
configure_args+=" -DCARES_BUILD_TESTS=OFF"
|
||||||
}
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.md LICENSE
|
vlicense LICENSE.md LICENSE
|
||||||
|
@ -25,11 +28,21 @@ post_install() {
|
||||||
|
|
||||||
c-ares-devel_package() {
|
c-ares-devel_package() {
|
||||||
depends="${sourcepkg}>=${version}_${revision}"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
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/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…
Add table
Add a link
Reference in a new issue