mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/lcov: add optfeature, emake -j1
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user