1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Object-oriented library which represents simple XML-RPC solution both for client and server sides."
8 HOMEPAGE="http://libiqxmlrpc.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
16 RDEPEND="=dev-cpp/libxmlpp-1*
21 doc? ( app-doc/doxygen )"
24 if has_version "<dev-libs/boost-1.34" && ! built_with_use dev-libs/boost threads ; then
25 eerror "dev-libs/boost has to be compiled with 'threads' USE-flag enabled."
26 die "Needed USE-flag for dev-libs/boost not found."
32 $(use_enable doc docs) \
34 --with-boost-thread=boost_thread-mt \
35 --with-boost-program-options=boost_program_options-mt \
36 --with-boost-unit-test-framework=boost_unit_test_framework-mt \
38 emake CXXFLAGS="${CXXFLAGS}" || die "emake failed"
42 # We install the docs manually, because: i) sandbox violations ii) wrong location
43 emake DESTDIR="${D}" MKDOC=no install || die "emake install failed"
44 dodoc ChangeLog README NEWS
46 dohtml doc/libiqxmlrpc.html/*
51 einfo "This can take some time due to stress tests"