void-packages/srcpkgs/xmlrpc-c/template
2014-09-08 12:10:02 +02:00

33 lines
950 B
Text

# Template file for 'xmlrpc-c'
pkgname=xmlrpc-c
version=1.25.29
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"
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=c8d31334019cdad93be75bfbb2541bbaee2889215877de1016e78a72d5757227
CFLAGS="-fPIC"
disable_parallel_build=yes
pre_configure() {
sed 's,XMLRPC_ABYSS_EXPORTED,XMLRPC_DLLEXPORT,g' -i include/xmlrpc-c/abyss.h
}
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
}
}