void-packages/srcpkgs/xmlrpc-c/template

29 lines
851 B
Text

# Template file for 'xmlrpc-c'
pkgname=xmlrpc-c
version=1.25.28
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 python"
makedepends="libcurl-devel libxml2-devel"
short_desc="XML-RPC for C and C++"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://xmlrpc-c.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tgz"
checksum=0786022c6d82ea1af04efade5b86357196f572c458a9649c6c912c469cd93acf
CFLAGS="-fPIC"
disable_parallel_build=yes
xmlrpc-c-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}