There is a typo where P_DOC is referenced as P_POC. Also, kde_src_install references ${S} directly, so that the docs install is done from the digikam directory instead of the digikam-doc directory. --- digikam-0.8.0-r1.ebuild 2005-12-18 02:21:56.000000000 -0500 +++ digikam-0.8.0-r1.ebuild.new 2005-12-18 02:21:55.000000000 -0500 @@ -40,12 +40,18 @@ src_compile(){ kde_src_compile - cd ${WORKDIR}/${P_POC} + MY_S=${S} + S=${WORKDIR}/${P_DOC} + cd ${WORKDIR}/${P_DOC} kde_src_compile + S=${MY_S} } src_install(){ kde_src_install + MY_S=${S} + S=${WORKDIR}/${P_DOC} cd ${WORKDIR}/${P_DOC} kde_src_install + S=${MY_S} }
additionally the docs should be optional via the docs useflag, afterall 3mb of actuall program and 41mb of documentation doesnt quite seem like a automatic choice.
Yeah, stupid error. :| Regarding optional docs, see bug 122265. The latest ebuild is LINGUAS aware, at least.