summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2020-02-01 16:15:29 +0700
committerAndrey Grozin <grozin@gentoo.org>2020-02-01 16:15:29 +0700
commit9bf2f24615fa77dacf22b160ef24c75ce0a9a7a0 (patch)
tree344030eda40991c6f05edff5cdeeed3fa4e9f3e3 /sci-mathematics/nestedsums
parentsci-mathematics/ginac: ebuild improvements (diff)
downloadgentoo-9bf2f24615fa77dacf22b160ef24c75ce0a9a7a0.tar.gz
gentoo-9bf2f24615fa77dacf22b160ef24c75ce0a9a7a0.tar.bz2
gentoo-9bf2f24615fa77dacf22b160ef24c75ce0a9a7a0.zip
sci-mathematics/nestedsums: ebuild improvements
Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Andrey Grozin <grozin@gentoo.org>
Diffstat (limited to 'sci-mathematics/nestedsums')
-rw-r--r--sci-mathematics/nestedsums/nestedsums-1.5.2.ebuild15
1 files 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
}