41 lines
1.0 KiB
Bash
41 lines
1.0 KiB
Bash
# Template file for 'xmlrpc-c'
|
|
pkgname=xmlrpc-c
|
|
version=1.51.07
|
|
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 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/"
|
|
changelog="http://xmlrpc-c.sourceforge.net/change_super_stable.html"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tgz"
|
|
checksum=84d20ae33f927582f821d61c0b9194aefbf1d7924590a13fa9da5ae1698aded9
|
|
|
|
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"
|
|
}
|
|
}
|