1 |
commit: 1373576a6519ec391f675193eac46ed37a8368e5 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 27 15:19:53 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 27 15:24:09 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1373576a |
7 |
|
8 |
dev-libs/libevent: Version 2.1.10 |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
dev-libs/libevent/Manifest | 1 + |
14 |
dev-libs/libevent/libevent-2.1.10.ebuild | 60 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 61 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/libevent/Manifest b/dev-libs/libevent/Manifest |
18 |
index 9171930e0d2..6b045152e05 100644 |
19 |
--- a/dev-libs/libevent/Manifest |
20 |
+++ b/dev-libs/libevent/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
+DIST libevent-2.1.10.tar.gz 1074897 BLAKE2B 15c86f9d82a54912dc8ebde54192e77dc105a9b7fab215a3ba0b85de31e9caccef8aa02ace0172e22ee394cff0e7b5a4e8ff2a8c5c3e472378630f66b1c0d33b SHA512 2a449b60c5bba0908f693d3169a2941f0952b462ea18cf3c7a7288cd902592f35a42c76096af502f04259ffce2567233fda3586578c2ac53fbfce6e00d35c086 |
23 |
DIST libevent-2.1.8.tar.gz 1026485 BLAKE2B f1ceb740aa776a7c26f52916d771af7f4bb351cadf858ef991ab015e5897e34579c6af1f4ed3b516d5be2ac7cb3a7c27ac9d3020dbb04ac7670118616a264561 SHA512 a2fd3dd111e73634e4aeb1b29d06e420b15c024d7b47778883b5f8a4ff320b5057a8164c6d50b53bd196c79d572ce2639fe6265e03a93304b09c22b41e4c2a17 |
24 |
DIST libevent-2.1.9_beta.tar.gz 1067050 BLAKE2B d59f424995742e6a57df74420d91c8a1614d7dbb6e3928a3dd666269f7c2f4876d6fedd649e4e947a6db63c15f69c18866bda9997c3bb3571452a8dbf126916a SHA512 672bff332292ec76503bc0ccb9462058e093f1867740fece51f77bb666c77c85e10271730b32b36d6faa9ab2ccee0433879457e201bf94b6bf704dba2c066051 |
25 |
|
26 |
diff --git a/dev-libs/libevent/libevent-2.1.10.ebuild b/dev-libs/libevent/libevent-2.1.10.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..d8985a9c483 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libevent/libevent-2.1.10.ebuild |
31 |
@@ -0,0 +1,60 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+inherit multilib-minimal |
37 |
+ |
38 |
+DESCRIPTION="Library to execute a function when a specific event occurs on a file descriptor" |
39 |
+HOMEPAGE="http://libevent.org/ https://github.com/libevent/libevent/" |
40 |
+SRC_URI=" |
41 |
+ https://github.com/${PN}/${PN}/releases/download/release-${PV/_/-}-stable/${P/_/-}-stable.tar.gz -> ${P}.tar.gz |
42 |
+" |
43 |
+LICENSE="BSD" |
44 |
+ |
45 |
+SLOT="0/2.1-6" |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
47 |
+IUSE="debug libressl +ssl static-libs test +threads" |
48 |
+ |
49 |
+DEPEND=" |
50 |
+ ssl? ( |
51 |
+ !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] ) |
52 |
+ libressl? ( dev-libs/libressl:0=[${MULTILIB_USEDEP}] ) |
53 |
+ ) |
54 |
+" |
55 |
+RDEPEND=" |
56 |
+ ${DEPEND} |
57 |
+ !<=dev-libs/9libs-1.0 |
58 |
+" |
59 |
+MULTILIB_WRAPPED_HEADERS=( |
60 |
+ /usr/include/event2/event-config.h |
61 |
+) |
62 |
+S=${WORKDIR}/${P/_/-}-stable |
63 |
+ |
64 |
+multilib_src_configure() { |
65 |
+ # fix out-of-source builds |
66 |
+ mkdir -p test || die |
67 |
+ |
68 |
+ ECONF_SOURCE="${S}" \ |
69 |
+ econf \ |
70 |
+ --disable-samples \ |
71 |
+ $(use_enable debug debug-mode) \ |
72 |
+ $(use_enable debug malloc-replacement) \ |
73 |
+ $(use_enable ssl openssl) \ |
74 |
+ $(use_enable static-libs static) \ |
75 |
+ $(use_enable test libevent-regress) \ |
76 |
+ $(use_enable threads thread-support) |
77 |
+} |
78 |
+ |
79 |
+src_test() { |
80 |
+ # The test suite doesn't quite work (see bug #406801 for the latest |
81 |
+ # installment in a riveting series of reports). |
82 |
+ : |
83 |
+ # emake -C test check | tee "${T}"/tests |
84 |
+} |
85 |
+ |
86 |
+DOCS=( ChangeLog{,-1.4,-2.0} ) |
87 |
+ |
88 |
+multilib_src_install_all() { |
89 |
+ einstalldocs |
90 |
+ find "${ED}" -name '*.la' -delete || die |
91 |
+} |