1 |
commit: 1453ffc4d52e42bc2002e461a592fb54b57d7598 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 18 15:34:11 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 18 15:34:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1453ffc4 |
7 |
|
8 |
dev-libs/libevent: Add live ebuild to track patches-2.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.63, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libevent/libevent-2.1.9999.ebuild | 63 ++++++++++++++++++++++++++++++ |
14 |
1 file changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libevent/libevent-2.1.9999.ebuild b/dev-libs/libevent/libevent-2.1.9999.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..edf6dbca900 |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/libevent/libevent-2.1.9999.ebuild |
21 |
@@ -0,0 +1,63 @@ |
22 |
+# Copyright 1999-2019 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=7 |
26 |
+inherit autotools git-r3 multilib-minimal |
27 |
+ |
28 |
+DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor" |
29 |
+EGIT_BRANCH="patches-$(ver_cut 1-2)" |
30 |
+EGIT_REPO_URI="https://github.com/libevent/libevent" |
31 |
+HOMEPAGE=" |
32 |
+ http://libevent.org/ |
33 |
+ ${EGIT_REPO_URI} |
34 |
+" |
35 |
+ |
36 |
+LICENSE="BSD" |
37 |
+# libevent-2.1.so.6 |
38 |
+SLOT="0/2.1-6" |
39 |
+KEYWORDS="" |
40 |
+IUSE="debug libressl +ssl static-libs test +threads" |
41 |
+RESTRICT="test" |
42 |
+ |
43 |
+DEPEND=" |
44 |
+ ssl? ( |
45 |
+ !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] ) |
46 |
+ libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) |
47 |
+ ) |
48 |
+" |
49 |
+RDEPEND=" |
50 |
+ ${DEPEND} |
51 |
+ !<=dev-libs/9libs-1.0 |
52 |
+" |
53 |
+ |
54 |
+MULTILIB_WRAPPED_HEADERS=( |
55 |
+ /usr/include/event2/event-config.h |
56 |
+) |
57 |
+DOCS=( |
58 |
+ ChangeLog{,-1.4,-2.0} |
59 |
+) |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ eautoreconf |
64 |
+} |
65 |
+ |
66 |
+multilib_src_configure() { |
67 |
+ # fix out-of-source builds |
68 |
+ mkdir -p test || die |
69 |
+ |
70 |
+ ECONF_SOURCE="${S}" \ |
71 |
+ econf \ |
72 |
+ --disable-samples \ |
73 |
+ $(use_enable debug debug-mode) \ |
74 |
+ $(use_enable debug malloc-replacement) \ |
75 |
+ $(use_enable ssl openssl) \ |
76 |
+ $(use_enable static-libs static) \ |
77 |
+ $(use_enable test libevent-regress) \ |
78 |
+ $(use_enable threads thread-support) |
79 |
+} |
80 |
+ |
81 |
+multilib_src_install_all() { |
82 |
+ einstalldocs |
83 |
+ find "${ED}" -name '*.la' -delete || die |
84 |
+} |