commit:     9bf2f24615fa77dacf22b160ef24c75ce0a9a7a0
Author:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  1 09:15:29 2020 +0000
Commit:     Andrey Grozin <grozin <AT> gentoo <DOT> org>
CommitDate: Sat Feb  1 09:15:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf2f246

sci-mathematics/nestedsums: ebuild improvements

Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>

 sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild 
b/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild
index 86a84599f41..3f4b9497fb6 100644
--- a/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild
+++ b/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild
@@ -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
 }

Reply via email to