xmlrpc-c: update to 1.51.06.

This commit is contained in:
Érico Rolim 2020-10-20 16:47:33 -03:00 committed by Érico Nogueira Rolim
parent 5c9cc3613f
commit 52dc27fe60
2 changed files with 9 additions and 16 deletions

View file

@ -1739,7 +1739,7 @@ libxmlrpc++.so.8 xmlrpc-c-1.39.07_1
libxmlrpc_server.so.3 xmlrpc-c-1.25.28_1
libxmlrpc_packetsocket.so.8 xmlrpc-c-1.39.07_1
libxmlrpc.so.3 xmlrpc-c-1.25.28_1
libxmlrpc_util.so.3 xmlrpc-c-1.25.28_1
libxmlrpc_util.so.4 xmlrpc-c-1.51.06_1
libxmlrpc_abyss.so.3 xmlrpc-c-1.25.28_1
libxmlrpc_server_abyss++.so.8 xmlrpc-c-1.39.07_1
libxmlrpc_cpp.so.8 xmlrpc-c-1.39.07_1

View file

@ -1,32 +1,25 @@
# Template file for 'xmlrpc-c'
pkgname=xmlrpc-c
version=1.39.13
revision=2
version=1.51.06
revision=1
build_style=gnu-configure
configure_args="--enable-libxml2-backend --enable-cplusplus --disable-cgi-server
--disable-libwww-client --disable-wininet-client"
hostmakedepends="pkg-config python"
hostmakedepends="pkg-config python3"
makedepends="libcurl-devel libxml2-devel"
short_desc="XML-RPC for C and C++"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="http://xmlrpc-c.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tgz"
checksum=491e44cae3763d285fc2a75fe6574882964f16451adbb7e6f3293916e120fca9
disable_parallel_build=yes
checksum=06dcd87d9c88374559369ffbe83b3139cf41418c1a2d03f20e08808085f89fd0
pre_configure() {
sed 's,XMLRPC_ABYSS_EXPORTED,XMLRPC_DLLEXPORT,g' -i include/xmlrpc-c/abyss.h
sed -i configure \
-e "s;AR=.*;AR=${AR};" \
-e "s;RANLIB=.*;RANLIB=${RANLIB};"
export AR RANLIB
}
post_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl) # Enable linux-gnu configuration for shlibs
sed -e "s;linux-gnu;linux-musl;g" -i ${wrksrc}/config.mk
esac
do_check() {
: # tests don't work with --disable-cgi-server
}
post_install() {