1 |
commit: 9bf2f24615fa77dacf22b160ef24c75ce0a9a7a0 |
2 |
Author: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 1 09:15:29 2020 +0000 |
4 |
Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 1 09:15:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf2f246 |
7 |
|
8 |
sci-mathematics/nestedsums: ebuild improvements |
9 |
|
10 |
Package-Manager: Portage-2.3.86, Repoman-2.3.20 |
11 |
Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org> |
12 |
|
13 |
sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild | 15 ++++++++++----- |
14 |
1 file changed, 10 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild b/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild |
17 |
index 86a84599f41..3f4b9497fb6 100644 |
18 |
--- a/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild |
19 |
+++ b/sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild |
20 |
@@ -13,8 +13,8 @@ LICENSE="GPL-2" |
21 |
SLOT="0" |
22 |
KEYWORDS="~amd64 ~x86" |
23 |
RDEPEND=">=sci-mathematics/ginac-1.7" |
24 |
-DEPEND="${RDEPEND}" |
25 |
-BDEPEND="doc? ( app-doc/doxygen )" |
26 |
+DEPEND="${RDEPEND} |
27 |
+ doc? ( app-doc/doxygen )" |
28 |
|
29 |
src_compile() { |
30 |
default |
31 |
@@ -29,7 +29,12 @@ src_test() { |
32 |
} |
33 |
|
34 |
src_install() { |
35 |
- use doc && local HTML_DOCS=( reference/html/. ) |
36 |
- default |
37 |
- find "${D}" -name '*.la' -type f -delete || die |
38 |
+ emake DESTDIR="${D}" install |
39 |
+ rm -f "${D}"/usr/lib/*.la |
40 |
+ dodoc AUTHORS ChangeLog |
41 |
+ |
42 |
+ if use doc; then |
43 |
+ docinto html |
44 |
+ dodoc -r reference/html/. |
45 |
+ fi |
46 |
} |