1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit autotools eutils
9 DESCRIPTION="An object-oriented library which represents simple XML-RPC solution for client and server side."
10 HOMEPAGE="http://libiqxmlrpc.wikidot.com/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
15 KEYWORDS="~x86 ~amd64"
18 RDEPEND="=dev-cpp/libxmlpp-1*
20 >=dev-libs/boost-1.35.0-r5
23 doc? ( app-doc/doxygen )"
26 epatch "${FILESDIR}/${PV}-boost_test_framework_detection.patch"
33 $(use_enable doc docs) \
35 --with-boost-unit-test-framework
39 # otherwise the package ignores them
40 emake CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" || die "emake failed"
44 # We install the docs manually, because: i) sandbox violations ii) wrong location
45 emake DESTDIR="${D}" MKDOC=no install || die "emake install failed"
46 dodoc ChangeLog README NEWS
47 use doc && dohtml doc/libiqxmlrpc.html/*