-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="2"
+EAPI="6"
inherit eutils toolchain-funcs
RDEPEND="app-crypt/gpgme"
DEPEND="${RDEPEND}"
-src_prepare() {
- epatch "${FILESDIR}/${P}-flags.patch"
-}
+PATCHES=(
+ "${FILESDIR}/${P}-flags.patch"
+)
src_compile() {
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" DEBUG= || die "emake failed"
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" DEBUG=
}
src_install() {
- dobin gpgstats || die "dobin gpgstas failed"
+ einstalldocs
+ dobin gpgstats
}