|
Lines 4-10
Link Here
|
| 4 |
|
4 |
|
| 5 |
IUSE="doc" |
5 |
IUSE="doc" |
| 6 |
|
6 |
|
| 7 |
inherit gnome2 |
7 |
inherit gnome2 eutils |
| 8 |
|
8 |
|
| 9 |
MY_P=${P/pp/++} |
9 |
MY_P=${P/pp/++} |
| 10 |
S=${WORKDIR}/${MY_P} |
10 |
S=${WORKDIR}/${MY_P} |
|
Lines 26-31
Link Here
|
| 26 |
|
26 |
|
| 27 |
MAKEOPTS="${MAKEOPTS} -j1" |
27 |
MAKEOPTS="${MAKEOPTS} -j1" |
| 28 |
|
28 |
|
|
|
29 |
src_unpack() { |
| 30 |
unpack ${A} |
| 31 |
cd ${S} |
| 32 |
epatch ${FILESDIR}/${P}-use-correct-callback.diff |
| 33 |
|
| 34 |
# don't waste time building the examples |
| 35 |
sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \ |
| 36 |
die "sed Makefile.in failed" |
| 37 |
} |
| 38 |
|
| 29 |
src_compile() { |
39 |
src_compile() { |
| 30 |
gnome2_src_compile |
40 |
gnome2_src_compile |
| 31 |
if use doc ; then |
41 |
if use doc ; then |
|
Lines 36-41
Link Here
|
| 36 |
|
46 |
|
| 37 |
src_install() { |
47 |
src_install() { |
| 38 |
gnome2_src_install |
48 |
gnome2_src_install |
|
|
49 |
rm -fr ${D}/usr/share/doc/libxml++* |
| 39 |
use doc && dohtml docs/reference/${PV%.*}/html/* |
50 |
use doc && dohtml docs/reference/${PV%.*}/html/* |
| 40 |
} |
51 |
} |
| 41 |
|
52 |
|