commit: 06f33e5de5cc74a3cc21b74ebeb92a1db6440556
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 24 22:00:16 2016 +0000
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Sat Sep 24 22:01:07 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06f33e5d
dev-libs/libtasn1: eap6 cleanups + eautoreconf
Bug: 595062
Package-Manager: portage-2.2.28
...{libtasn1-4.9.ebuild => libtasn1-4.9-r1.ebuild} | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/dev-libs/libtasn1/libtasn1-4.9.ebuild
b/dev-libs/libtasn1/libtasn1-4.9-r1.ebuild
similarity index 85%
rename from dev-libs/libtasn1/libtasn1-4.9.ebuild
rename to dev-libs/libtasn1/libtasn1-4.9-r1.ebuild
index e227f89..eb4054f 100644
--- a/dev-libs/libtasn1/libtasn1-4.9.ebuild
+++ b/dev-libs/libtasn1/libtasn1-4.9-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=6
-inherit multilib-minimal
+inherit autotools multilib-minimal
DESCRIPTION="ASN.1 library"
HOMEPAGE="https://www.gnu.org/software/libtasn1/"
@@ -29,16 +29,20 @@ PATCHES=(
)
DOCS=( AUTHORS ChangeLog NEWS README THANKS )
+pkg_setup() {
+ if use doc; then
+ DOCS+=( doc/libtasn1.pdf )
+ HTML_DOCS=( doc/reference/html/. )
+ fi
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
multilib_src_configure() {
local myeconfargs
[[ "${VALGRIND_TESTS}" == "0" ]] && myeconfargs+=(
--disable-valgrind-tests )
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
-
-multilib_src_install_all() {
- einstalldocs
- if use doc ; then
- dodoc doc/libtasn1.pdf
- dohtml doc/reference/html/*
- fi
-}