1 |
commit: bab7be93dcd0d04118100bc7d305d3aedc100eec |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 20 10:37:47 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 20 10:37:47 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab7be93 |
7 |
|
8 |
dev-util/wiggle: Clean old |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-util/wiggle/wiggle-0.9.ebuild | 65 --------------------------------------- |
14 |
1 file changed, 65 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/wiggle/wiggle-0.9.ebuild b/dev-util/wiggle/wiggle-0.9.ebuild |
17 |
deleted file mode 100644 |
18 |
index 58f69bd..0000000 |
19 |
--- a/dev-util/wiggle/wiggle-0.9.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,65 +0,0 @@ |
22 |
-# Copyright 1999-2013 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-EAPI=4 |
27 |
- |
28 |
-inherit eutils fixheadtails flag-o-matic toolchain-funcs |
29 |
- |
30 |
-DESCRIPTION="program for applying patches that patch cannot apply because of conflicting changes" |
31 |
-HOMEPAGE="http://neil.brown.name/wiggle http://neil.brown.name/git?p=wiggle" |
32 |
-SRC_URI="http://neil.brown.name/${PN}/${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="GPL-2" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux" |
37 |
-IUSE="test" |
38 |
- |
39 |
-# The 'p' tool does support bitkeeper, but I'm against just dumping it in here |
40 |
-# due to it's size. I've explictly listed every other dependancy here due to |
41 |
-# the nature of the shell program 'p' |
42 |
-RDEPEND=" |
43 |
- dev-util/diffstat |
44 |
- dev-util/patchutils |
45 |
- sys-apps/diffutils |
46 |
- sys-apps/findutils |
47 |
- virtual/awk |
48 |
- sys-apps/grep |
49 |
- sys-apps/less |
50 |
- sys-apps/sed |
51 |
- sys-apps/coreutils |
52 |
- sys-devel/patch" |
53 |
-DEPEND="${RDEPEND} |
54 |
- sys-apps/groff |
55 |
- test? ( sys-process/time )" |
56 |
- |
57 |
-src_prepare() { |
58 |
- # Fix the reference to the help file so `p help' works |
59 |
- sed -i "s:\$0.help:${EPREFIX}/usr/share/wiggle/p.help:" p || die "sed failed on p" |
60 |
- |
61 |
- # Don't add Neil Brown's default sign off line to every patch |
62 |
- sed -i '/$CERT/,+4s,^,#,' p || die "sed failed on p" |
63 |
- |
64 |
- # Use prefixed time binary |
65 |
- sed -i "s:/usr/bin/time:${EPREFIX}/usr/bin/time:" dotest || die "sed failed on dotest" |
66 |
- |
67 |
- sed \ |
68 |
- -e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \ |
69 |
- -i Makefile || die |
70 |
- |
71 |
- ht_fix_file p |
72 |
- |
73 |
- append-cppflags -I. |
74 |
-} |
75 |
- |
76 |
-src_compile() { |
77 |
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -Wall" ${PN} |
78 |
-} |
79 |
- |
80 |
-src_install() { |
81 |
- dobin wiggle p |
82 |
- doman wiggle.1 |
83 |
- dodoc ANNOUNCE INSTALL TODO DOC/diff.ps notes |
84 |
- insinto /usr/share/wiggle |
85 |
- doins p.help |
86 |
-} |