void-packages/srcpkgs/xmlrpc-c/template

34 lines
950 B
Plaintext
Raw Normal View History

2014-06-25 08:46:48 +02:00
# Template file for 'xmlrpc-c'
pkgname=xmlrpc-c
2014-11-05 12:24:16 +01:00
version=1.25.30
2014-09-08 12:01:38 +02:00
revision=1
2014-06-25 08:46:48 +02:00
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"
2014-11-05 12:24:16 +01:00
checksum=8ae6ed4ec57d50ed132b1150fc5258346eef3e291501a564f14fa97586902f98
2014-06-25 08:46:48 +02:00
CFLAGS="-fPIC"
disable_parallel_build=yes
2014-09-08 12:09:34 +02:00
pre_configure() {
sed 's,XMLRPC_ABYSS_EXPORTED,XMLRPC_DLLEXPORT,g' -i include/xmlrpc-c/abyss.h
}
2014-06-25 08:46:48 +02:00
xmlrpc-c-devel_package() {
short_desc+=" - development files"
2014-06-25 08:51:23 +02:00
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
2014-06-25 08:46:48 +02:00
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}