|
Lines 65-70
Link Here
|
| 65 |
# --with-mem-debug causes unusual segmentation faults (bug #105120). |
65 |
# --with-mem-debug causes unusual segmentation faults (bug #105120). |
| 66 |
|
66 |
|
| 67 |
local myconf="--with-zlib \ |
67 |
local myconf="--with-zlib \ |
|
|
68 |
--with-html-subdir=${PF}/html \ |
| 68 |
$(use_with debug run-debug) \ |
69 |
$(use_with debug run-debug) \ |
| 69 |
$(use_with python) \ |
70 |
$(use_with python) \ |
| 70 |
$(use_with readline) \ |
71 |
$(use_with readline) \ |
|
Lines 94-111
Link Here
|
| 94 |
} |
95 |
} |
| 95 |
|
96 |
|
| 96 |
src_install() { |
97 |
src_install() { |
| 97 |
emake DESTDIR="${D}" install || die "Installation failed" |
98 |
emake DESTDIR="${D}" \ |
|
|
99 |
DOC_MODULE=${PF} \ |
| 100 |
docsdir=/usr/share/doc/${PF}/python \ |
| 101 |
exampledir=/usr/share/doc/${PF}/python/examples \ |
| 102 |
install || die "Installation failed" |
| 98 |
|
103 |
|
| 99 |
dodoc AUTHORS ChangeLog Copyright NEWS README* TODO* |
104 |
dodoc AUTHORS ChangeLog Copyright NEWS README* TODO* |
| 100 |
|
105 |
|
| 101 |
if ! use doc; then |
106 |
if ! use doc; then |
| 102 |
rm -rf "${D}"/usr/share/gtk-doc |
107 |
rm -rf "${D}"/usr/share/gtk-doc |
| 103 |
rm -rf "${D}"/usr/share/doc/${P}/html |
108 |
rm -rf "${D}"/usr/share/doc/${PF}/html |
| 104 |
fi |
109 |
fi |
| 105 |
|
110 |
|
| 106 |
if ! use examples; then |
111 |
if ! use examples; then |
| 107 |
rm -rf "${D}/usr/share/doc/${P}/examples" |
112 |
rm -rf "${D}/usr/share/doc/${PF}/examples" |
| 108 |
rm -rf "${D}/usr/share/doc/${PN}-python-${PV}/examples" |
113 |
rm -rf "${D}/usr/share/doc/${PF}/python/examples" |
| 109 |
fi |
114 |
fi |
| 110 |
} |
115 |
} |
| 111 |
|
116 |
|