summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2017-02-04 00:22:13 +0200
committerAlon Bar-Lev <alonbl@gentoo.org>2017-02-04 03:30:43 +0200
commit105e5ef94cfba0fa99f3ceeab04281e90066052e (patch)
tree4977403b0fd709dc8d5d17c1362a2f74e7d31fed /dev-libs
parentdev-libs/libgpg-error: eapi bump (diff)
downloadgentoo-105e5ef94cfba0fa99f3ceeab04281e90066052e.tar.gz
gentoo-105e5ef94cfba0fa99f3ceeab04281e90066052e.tar.bz2
gentoo-105e5ef94cfba0fa99f3ceeab04281e90066052e.zip
dev-libs/nettle: remove dohtml
Package-Manager: portage-2.3.3
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/nettle/nettle-3.3.ebuild20
1 files changed, 12 insertions, 8 deletions
diff --git a/dev-libs/nettle/nettle-3.3.ebuild b/dev-libs/nettle/nettle-3.3.ebuild
index 222b8b25badc..6de65452986e 100644
--- a/dev-libs/nettle/nettle-3.3.ebuild
+++ b/dev-libs/nettle/nettle-3.3.ebuild
@@ -27,6 +27,18 @@ MULTILIB_WRAPPED_HEADERS=(
/usr/include/nettle/version.h
)
+DOCS=()
+HTML_DOCS=()
+
+pkg_setup() {
+ use doc && DOCS+=(
+ nettle.pdf
+ )
+ use doc && HTML_DOCS+=(
+ nettle.html
+ )
+}
+
src_prepare() {
default
@@ -53,11 +65,3 @@ multilib_src_configure() {
$(use_enable neon arm-neon) \
$(use_enable cpu_flags_x86_aes x86-aesni)
}
-
-multilib_src_install_all() {
- einstalldocs
- if use doc ; then
- dohtml nettle.html
- dodoc nettle.pdf
- fi
-}