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