1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="A library to support C++ developers with debugging their applications"
8 HOMEPAGE="http://libcwd.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="debug doc examples pch"
16 DEPEND="doc? ( app-doc/doxygen )"
25 configure || die "sed failed"
27 epatch "${FILESDIR}"/gcc-4.3.patch ||die
29 # Clean-out possibly old docs
30 rm -f documentation/doxygen.config
31 rm -rf documentation/html/*
39 emake || die "emake failed"
43 doxygen doxygen.config
48 emake -j1 DESTDIR="${D}" install || die "emake install failed"
53 dohtml -r documentation/reference-manual/*
54 insinto /usr/share/doc/${PF}
55 doins -r documentation/tutorial
59 insinto /usr/share/doc/${PF}
60 doins -r example-project