summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/sparsehash/sparsehash-2.0.3.ebuild')
-rw-r--r--dev-cpp/sparsehash/sparsehash-2.0.3.ebuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/dev-cpp/sparsehash/sparsehash-2.0.3.ebuild b/dev-cpp/sparsehash/sparsehash-2.0.3.ebuild
index 5fb17a073c6d..cc5f66461a19 100644
--- a/dev-cpp/sparsehash/sparsehash-2.0.3.ebuild
+++ b/dev-cpp/sparsehash/sparsehash-2.0.3.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI=6
+
+inherit autotools
DESCRIPTION="An extremely memory-efficient hash_map implementation"
HOMEPAGE="https://github.com/sparsehash/sparsehash"
@@ -15,10 +17,9 @@ IUSE=""
S=${WORKDIR}/${PN}-${P}
-src_install() {
- default
+PATCHES=( "${FILESDIR}"/${PN}-2.0.3-fix-docdir.patch )
- # Installs just every piece
- rm -rf "${ED}/usr/share/doc"
- dohtml doc/*
+src_prepare() {
+ default
+ eautoreconf
}