summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/pngcrush/pngcrush-1.8.13.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/media-gfx/pngcrush/pngcrush-1.8.13.ebuild b/media-gfx/pngcrush/pngcrush-1.8.13.ebuild
index 9c2048706892..9ac2937f2713 100644
--- a/media-gfx/pngcrush/pngcrush-1.8.13.ebuild
+++ b/media-gfx/pngcrush/pngcrush-1.8.13.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit toolchain-funcs
@@ -15,8 +15,10 @@ KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-lin
RDEPEND="media-libs/libpng:0=
sys-libs/zlib:="
-DEPEND="${RDEPEND}
- app-arch/xz-utils"
+DEPEND="${RDEPEND}"
+BDEPEND="app-arch/xz-utils"
+
+DOCS=( ChangeLog.html )
S="${WORKDIR}"/${P}-nolib
@@ -30,5 +32,5 @@ src_compile() {
src_install() {
dobin ${PN}
- dodoc ChangeLog.html
+ einstalldocs
}