summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/lcov/lcov-1.15.ebuild')
-rw-r--r--dev-util/lcov/lcov-1.15.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/dev-util/lcov/lcov-1.15.ebuild b/dev-util/lcov/lcov-1.15.ebuild
index 67bf3e5ce14c..aaf14998d4b6 100644
--- a/dev-util/lcov/lcov-1.15.ebuild
+++ b/dev-util/lcov/lcov-1.15.ebuild
@@ -11,20 +11,18 @@ else
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-linux ~x64-macos"
fi
-inherit prefix
+inherit optfeature prefix
DESCRIPTION="A graphical front-end for GCC's coverage testing tool gcov"
HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php"
LICENSE="GPL-2+"
SLOT="0"
-IUSE="png"
RDEPEND="
dev-lang/perl
dev-perl/JSON
dev-perl/PerlIO-gzip
- png? ( dev-perl/GD[png] )
"
src_prepare() {
@@ -37,5 +35,10 @@ src_prepare() {
src_compile() { :; }
src_install() {
- emake PREFIX="${ED}/usr" CFG_DIR="${ED}/etc" install
+ emake -j1 PREFIX="${ED}/usr" CFG_DIR="${ED}/etc" install
+}
+
+pkg_postinst() {
+ elog "Optional features:"
+ optfeature "png output support" dev-perl/GD[png]
}