--- /home/ka0ttic/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild 2005-02-27 15:03:56.000000000 -0500 +++ libxmlpp-2.10.0.ebuild 2005-04-23 08:10:34.000000000 -0400 @@ -26,6 +26,14 @@ MAKEOPTS="${MAKEOPTS} -j1" +src_unpack() { + unpack ${A} + cd ${S} + # don't waste time building the examples + sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \ + die "sed Makefile.in failed" +} + src_compile() { gnome2_src_compile if use doc ; then @@ -36,6 +44,7 @@ src_install() { gnome2_src_install + rm -fr ${D}/usr/share/doc/libxml++* use doc && dohtml docs/reference/${PV%.*}/html/* }