Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild,v 1.2 2005/01/01 17:29:19 eradicator Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild,v 1.2 2005/01/01 17:29:19 eradicator Exp $ |
4 |
|
4 |
|
5 |
IUSE="" |
5 |
IUSE="doc" |
6 |
|
6 |
|
7 |
inherit gnome2 |
7 |
inherit gnome2 |
8 |
|
8 |
|
Lines 21-28
Link Here
|
21 |
>=dev-cpp/glibmm-2.4" |
21 |
>=dev-cpp/glibmm-2.4" |
22 |
|
22 |
|
23 |
DEPEND="${RDEPEND} |
23 |
DEPEND="${RDEPEND} |
24 |
dev-util/pkgconfig" |
24 |
dev-util/pkgconfig |
|
|
25 |
doc? ( app-doc/doxygen )" |
25 |
|
26 |
|
26 |
MAKEOPTS="${MAKEOPTS} -j1" |
27 |
MAKEOPTS="${MAKEOPTS} -j1" |
27 |
|
28 |
|
28 |
DOCS="AUTHORS ChangeLog NEWS README*" |
29 |
DOCS="AUTHORS ChangeLog NEWS README*" |
|
|
30 |
|
31 |
src_compile() { |
32 |
gnome2_src_compile |
33 |
if use doc ; then |
34 |
cd docs/reference |
35 |
emake || die "failed to build docs" |
36 |
fi |
37 |
} |
38 |
|
39 |
src_install() { |
40 |
gnome2_src_install |
41 |
use doc && dohtml docs/reference/${PV%.*}/html/* |
42 |
} |