1 |
commit: f3c23167984c8b7135780be185597ac322330b38 |
2 |
Author: Jeffrey Lin <jeffrey <AT> icurse <DOT> nl> |
3 |
AuthorDate: Sun Oct 7 04:34:42 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 22 20:05:18 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3c23167 |
7 |
|
8 |
dev-util/lcov: add version -9999 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/668320 |
11 |
Package-Manager: Portage-2.3.50, Repoman-2.3.11 |
12 |
Signed-off-by: Jeffrey Lin <jeffrey <AT> icurse.nl> |
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
dev-util/lcov/lcov-9999.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ |
16 |
1 file changed, 39 insertions(+) |
17 |
|
18 |
diff --git a/dev-util/lcov/lcov-9999.ebuild b/dev-util/lcov/lcov-9999.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..cd55511f099 |
21 |
--- /dev/null |
22 |
+++ b/dev-util/lcov/lcov-9999.ebuild |
23 |
@@ -0,0 +1,39 @@ |
24 |
+# Copyright 1999-2018 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+if [[ ${PV} == "9999" ]] ; then |
30 |
+ EGIT_REPO_URI="https://github.com/linux-test-project/lcov.git" |
31 |
+ inherit git-r3 |
32 |
+else |
33 |
+ SRC_URI="mirror://sourceforge/ltp/${P}.tar.gz" |
34 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-linux ~x64-macos" |
35 |
+fi |
36 |
+ |
37 |
+inherit prefix |
38 |
+ |
39 |
+DESCRIPTION="A graphical front-end for GCC's coverage testing tool gcov" |
40 |
+HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php" |
41 |
+ |
42 |
+LICENSE="GPL-2+" |
43 |
+SLOT="0" |
44 |
+IUSE="png" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ dev-lang/perl |
48 |
+ png? ( dev-perl/GD[png] ) |
49 |
+" |
50 |
+ |
51 |
+src_prepare() { |
52 |
+ default |
53 |
+ if use prefix; then |
54 |
+ hprefixify bin/*.{pl,sh} |
55 |
+ fi |
56 |
+} |
57 |
+ |
58 |
+src_compile() { :; } |
59 |
+ |
60 |
+src_install() { |
61 |
+ emake PREFIX="${ED}/usr" CFG_DIR="${ED}/etc" install |
62 |
+} |