1 |
commit: 4894d215b8cad1a4832b52e9b7d43facf87e7786 |
2 |
Author: Harri Nieminen <moikkis <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Feb 14 09:39:49 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 14 19:42:16 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4894d215 |
7 |
|
8 |
x11-misc/bbmail: EAPI bump 2 -> 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/3967 |
12 |
|
13 |
x11-misc/bbmail/bbmail-0.9.3-r1.ebuild | 40 ++++++++++++++++++++++++ |
14 |
x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch | 8 +++++ |
15 |
2 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/x11-misc/bbmail/bbmail-0.9.3-r1.ebuild b/x11-misc/bbmail/bbmail-0.9.3-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 0000000000..8f2493767d |
20 |
--- /dev/null |
21 |
+++ b/x11-misc/bbmail/bbmail-0.9.3-r1.ebuild |
22 |
@@ -0,0 +1,40 @@ |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+# $Id$ |
26 |
+ |
27 |
+EAPI=6 |
28 |
+ |
29 |
+inherit autotools |
30 |
+ |
31 |
+DESCRIPTION="blackbox mail notification" |
32 |
+HOMEPAGE="https://sourceforge.net/projects/bbtools" |
33 |
+SRC_URI="mirror://sourceforge/bbtools/${P}.tar.gz" |
34 |
+ |
35 |
+SLOT="0" |
36 |
+LICENSE="GPL-2" |
37 |
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
38 |
+IUSE="" |
39 |
+ |
40 |
+RDEPEND=" |
41 |
+ dev-lang/perl |
42 |
+ x11-wm/blackbox |
43 |
+ x11-libs/libX11 |
44 |
+ x11-libs/libXext" |
45 |
+DEPEND="${RDEPEND} |
46 |
+ x11-proto/xproto" |
47 |
+ |
48 |
+PATCHES=( |
49 |
+ "${FILESDIR}"/${P}-gcc4.3.patch |
50 |
+ "${FILESDIR}"/${P}-gcc4.4.patch |
51 |
+ "${FILESDIR}"/${P}-shebang.patch |
52 |
+) |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ eautoreconf |
57 |
+} |
58 |
+ |
59 |
+src_install () { |
60 |
+ default |
61 |
+ dobin scripts/bbmailparsefm.pl |
62 |
+} |
63 |
|
64 |
diff --git a/x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch b/x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch |
65 |
new file mode 100644 |
66 |
index 0000000000..98ceae80e1 |
67 |
--- /dev/null |
68 |
+++ b/x11-misc/bbmail/files/bbmail-0.9.3-shebang.patch |
69 |
@@ -0,0 +1,8 @@ |
70 |
+--- a/scripts/bbmailparsefm.pl 2002-10-17 21:33:21.000000000 +0300 |
71 |
++++ b/scripts/bbmailparsefm.pl 2017-02-14 19:49:11.371106962 +0200 |
72 |
+@@ -1,4 +1,4 @@ |
73 |
+-#!/usr/bin/perl |
74 |
++#!/usr/bin/env perl |
75 |
+ # |
76 |
+ # Quickie script to parse fetchmail -c output |
77 |
+ # (IMAP proto) for use with bbmail |