sci-mathematics/nestedsums: ebuild improvements
authorAndrey Grozin <grozin@gentoo.org>
Sat, 1 Feb 2020 09:15:29 +0000 (16:15 +0700)
committerAndrey Grozin <grozin@gentoo.org>
Sat, 1 Feb 2020 09:15:29 +0000 (16:15 +0700)
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Andrey Grozin <grozin@gentoo.org>
sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild

index 86a84599f41cf537d80b4a0aa26d126fb45e3e31..3f4b9497fb6be8a28d3a100050653d6da0637f34 100644 (file)
@@ -13,8 +13,8 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 RDEPEND=">=sci-mathematics/ginac-1.7"
-DEPEND="${RDEPEND}"
-BDEPEND="doc? ( app-doc/doxygen )"
+DEPEND="${RDEPEND}
+       doc? ( app-doc/doxygen )"
 
 src_compile() {
        default
@@ -29,7 +29,12 @@ src_test() {
 }
 
 src_install() {
-       use doc && local HTML_DOCS=( reference/html/. )
-       default
-       find "${D}" -name '*.la' -type f -delete || die
+       emake DESTDIR="${D}" install
+       rm -f "${D}"/usr/lib/*.la
+       dodoc AUTHORS ChangeLog
+
+       if use doc; then
+               docinto html
+               dodoc -r reference/html/.
+       fi
 }