1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Libiqxmlrpc is an 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 ! 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."
33 epatch "${FILESDIR}/${PV}-doc_manual_install.patch"
38 $(use_enable doc docs) \
40 --with-boost-thread=boost_thread-mt \
41 --with-boost--program-options=boost_program_options-mt \
42 --with-boost-unit-test-framework=boost_unit_test_framework-mt \
44 emake CXXFLAGS="${CXXFLAGS}" || die "emake failed"
48 emake DESTDIR="${D}" install || die "emake install failed"
49 dodoc ChangeLog README NEWS TODO
51 dohtml doc/libiqxmlrpc.html/*
56 einfo "This can take some time due to stress tests"