|
|
| |
IUSE="doc" | IUSE="doc" |
| |
inherit gnome2 |
inherit gnome2 eutils |
| |
MY_P=${P/pp/++} | MY_P=${P/pp/++} |
S=${WORKDIR}/${MY_P} | S=${WORKDIR}/${MY_P} |
|
|
| |
MAKEOPTS="${MAKEOPTS} -j1" | MAKEOPTS="${MAKEOPTS} -j1" |
| |
|
src_unpack() { |
|
unpack ${A} |
|
cd ${S} |
|
epatch ${FILESDIR}/${P}-use-correct-callback.diff |
|
|
|
# don't waste time building the examples |
|
sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \ |
|
die "sed Makefile.in failed" |
|
} |
|
|
src_compile() { | src_compile() { |
gnome2_src_compile | gnome2_src_compile |
if use doc ; then | if use doc ; then |
|
|
| |
src_install() { | src_install() { |
gnome2_src_install | gnome2_src_install |
|
rm -fr ${D}/usr/share/doc/libxml++* |
use doc && dohtml docs/reference/${PV%.*}/html/* | use doc && dohtml docs/reference/${PV%.*}/html/* |
} | } |
| |