Non-maintainer commit, I want my tree synced.
- fix BannedEapiCommand CI issue,
- fix MissingSlash tree issue,
- introduce BDEPEND,
- modernize ebuild with HTML_DOCS and 'default' calls.
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=sci-mathematics/ginac-1.7"
-DEPEND="${RDEPEND}
- doc? ( app-doc/doxygen )"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
src_compile() {
default
}
src_install() {
- emake DESTDIR="${D}" install
- rm -f "${D}"usr/lib/*.la
- dodoc AUTHORS ChangeLog
-
- if use doc; then
- dohtml reference/html/*
- fi
+ use doc && local HTML_DOCS=( reference/html/. )
+ default
+ find "${D}" -name '*.la' -type f -delete || die
}