void-packages/srcpkgs/xmlrpc-c/template
2021-03-05 22:08:08 +01:00

39 lines
991 B
Bash

# Template file for 'xmlrpc-c'
pkgname=xmlrpc-c
version=1.51.06
revision=2
build_style=gnu-configure
configure_args="--enable-libxml2-backend --enable-cplusplus --disable-cgi-server
--disable-libwww-client --disable-wininet-client"
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=06dcd87d9c88374559369ffbe83b3139cf41418c1a2d03f20e08808085f89fd0
pre_configure() {
export AR RANLIB
}
do_check() {
: # tests don't work with --disable-cgi-server
}
post_install() {
vlicense doc/COPYING
}
xmlrpc-c-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
local shlib
vmove usr/bin
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}