1 |
commit: 0f26951d2d7ebc189986b12a197d8262085a0b07 |
2 |
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 14 15:19:36 2016 +0000 |
4 |
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 14 15:19:52 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f26951d |
7 |
|
8 |
dev-util/cwdiff: added live ebuild |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-util/cwdiff/cwdiff-9999.ebuild | 36 ++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 36 insertions(+) |
14 |
|
15 |
diff --git a/dev-util/cwdiff/cwdiff-9999.ebuild b/dev-util/cwdiff/cwdiff-9999.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..c066766 |
18 |
--- /dev/null |
19 |
+++ b/dev-util/cwdiff/cwdiff-9999.ebuild |
20 |
@@ -0,0 +1,36 @@ |
21 |
+# Copyright 1999-2016 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+if [ "${PV}" = "9999" ]; then |
28 |
+ EGIT_REPO_URI="git://github.com/junghans/${PN}.git https://github.com/junghans/${PN}.git" |
29 |
+ inherit git-r3 |
30 |
+ KEYWORDS="" |
31 |
+else |
32 |
+ SRC_URI="https://github.com/junghans/cwdiff/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
33 |
+ KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x64-macos ~x86-macos" |
34 |
+fi |
35 |
+ |
36 |
+DESCRIPTION="A script that wraps wdiff to support directories and colorize the output" |
37 |
+HOMEPAGE="https://github.com/junghans/cwdiff" |
38 |
+ |
39 |
+LICENSE="GPL-2" |
40 |
+SLOT="0" |
41 |
+IUSE="mercurial" |
42 |
+ |
43 |
+DEPEND="sys-apps/help2man |
44 |
+ sys-apps/coreutils" |
45 |
+RDEPEND=" |
46 |
+ sys-apps/sed |
47 |
+ app-shells/bash |
48 |
+ app-text/wdiff |
49 |
+ sys-apps/diffutils |
50 |
+ mercurial? ( dev-vcs/mercurial ) |
51 |
+ " |
52 |
+ |
53 |
+src_install() { |
54 |
+ emake DESTDIR="${ED}" $(usex mercurial '' 'HGRCDIR=') install |
55 |
+ dodoc README.md |
56 |
+} |