1 |
commit: eb6fbf62bf7d65bc52b63f2437ad861d4d31b734 |
2 |
Author: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 30 20:21:07 2015 +0000 |
4 |
Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 30 20:29:50 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb6fbf62 |
7 |
|
8 |
net-libs/gloox: add libressl support |
9 |
|
10 |
net-libs/gloox/gloox-1.0.14-r1.ebuild | 51 +++++++++++++++++++++++++++++++++++ |
11 |
1 file changed, 51 insertions(+) |
12 |
|
13 |
diff --git a/net-libs/gloox/gloox-1.0.14-r1.ebuild b/net-libs/gloox/gloox-1.0.14-r1.ebuild |
14 |
new file mode 100644 |
15 |
index 0000000..c5b4696 |
16 |
--- /dev/null |
17 |
+++ b/net-libs/gloox/gloox-1.0.14-r1.ebuild |
18 |
@@ -0,0 +1,51 @@ |
19 |
+# Copyright 1999-2015 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+# $Id$ |
22 |
+ |
23 |
+EAPI=5 |
24 |
+ |
25 |
+inherit eutils |
26 |
+ |
27 |
+MY_P="${P/_/-}" |
28 |
+DESCRIPTION="A portable high-level Jabber/XMPP library for C++" |
29 |
+HOMEPAGE="http://camaya.net/gloox" |
30 |
+SRC_URI="http://camaya.net/download/${MY_P}.tar.bz2" |
31 |
+ |
32 |
+LICENSE="GPL-3" |
33 |
+SLOT="0/13" |
34 |
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~ia64 ~sparc ~x86" |
35 |
+IUSE="debug gnutls idn libressl ssl static-libs test zlib" |
36 |
+ |
37 |
+DEPEND="idn? ( net-dns/libidn ) |
38 |
+ gnutls? ( net-libs/gnutls ) |
39 |
+ ssl? ( |
40 |
+ !libressl? ( dev-libs/openssl:0 ) |
41 |
+ libressl? ( dev-libs/libressl ) |
42 |
+ ) |
43 |
+ zlib? ( sys-libs/zlib )" |
44 |
+ |
45 |
+RDEPEND="${DEPEND}" |
46 |
+ |
47 |
+S=${WORKDIR}/${MY_P} |
48 |
+ |
49 |
+src_prepare() { |
50 |
+ epatch_user |
51 |
+} |
52 |
+ |
53 |
+src_configure() { |
54 |
+ # Examples are not installed anyway, so - why should we build them? |
55 |
+ econf \ |
56 |
+ --without-examples \ |
57 |
+ $(use debug && echo "--enable-debug") \ |
58 |
+ $(use_enable static-libs static) \ |
59 |
+ $(use_with idn libidn) \ |
60 |
+ $(use_with gnutls) \ |
61 |
+ $(use_with ssl openssl) \ |
62 |
+ $(use_with test tests) \ |
63 |
+ $(use_with zlib) |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ default |
68 |
+ prune_libtool_files |
69 |
+} |