# $Id$ PNAME="xmlrpc-c" PVER="1.51.04" PBUILD="r1" PCAT="dev-libs" DESCRIPTION="Programming library for writing an XML-RPC server or client in C or C++." HOMEPAGE="http://xmlrpc-c.sourceforge.net/" DEPEND=">= net-misc/curl-7 >= sys-libs/libstdc++-9.2" SRCFILE="${PNAME}-${PVER}.tgz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude mbuild msetfeature "!check" SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2TARBALL="${PNAME}" UP2DATE="updatecmd_sourceforge ${PNAME} 'Xmlrpc-c Super Stable' tgz" src_prepare() { #munpack ${SRCFILE} # not a tar gz, regardless of the name tar xvf ${SOURCEDIR}/${PNAME}/${SRCFILE} -C ${BUILDDIR} || die cd ${SRCDIR} # fix compilation against newer curl, which dropped types.h sed -i '/#include /d' lib/curl_transport/*.c || die } src_compile() { cd ${SRCDIR} mconfigure \ --disable-libxml2-backend \ --enable-abyss-threads \ --enable-curl-client \ --disable-libwww-client \ --disable-wininet-client \ --disable-static \ || die mmake -j1 || die }