Gentoo Archives: gentoo-commits

From: Julian Ospald <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libesmtp/
Date: Wed, 30 Sep 2015 11:59:25
Message-Id: 1443614342.483e759909341ab0c649c23befa59d4892bed1be.hasufell@gentoo
1 commit: 483e759909341ab0c649c23befa59d4892bed1be
2 Author: Julian Ospald <hasufell <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 30 11:29:17 2015 +0000
4 Commit: Julian Ospald <hasufell <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 30 11:59:02 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=483e7599
7
8 net-libs/libesmtp: add libressl support
9
10 net-libs/libesmtp/libesmtp-1.0.6-r2.ebuild | 44 ++++++++++++++++++++++++++++++
11 1 file changed, 44 insertions(+)
12
13 diff --git a/net-libs/libesmtp/libesmtp-1.0.6-r2.ebuild b/net-libs/libesmtp/libesmtp-1.0.6-r2.ebuild
14 new file mode 100644
15 index 0000000..4c0472e
16 --- /dev/null
17 +++ b/net-libs/libesmtp/libesmtp-1.0.6-r2.ebuild
18 @@ -0,0 +1,44 @@
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 +inherit libtool
25 +
26 +DESCRIPTION="lib that implements the client side of the SMTP protocol"
27 +HOMEPAGE="http://www.stafford.uklinux.net/libesmtp/"
28 +SRC_URI="http://www.stafford.uklinux.net/${PN}/${P}.tar.bz2"
29 +
30 +LICENSE="LGPL-2.1 GPL-2"
31 +SLOT="0"
32 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
33 +IUSE="debug libressl ntlm ssl static-libs threads"
34 +
35 +RDEPEND="
36 + ssl? (
37 + !libressl? ( dev-libs/openssl:0= )
38 + libressl? ( dev-libs/libressl:= )
39 + )"
40 +DEPEND="${RDEPEND}"
41 +
42 +src_prepare() {
43 + elibtoolize
44 +}
45 +
46 +src_configure() {
47 + econf \
48 + --disable-dependency-tracking \
49 + $(use_enable static-libs static) \
50 + --enable-all \
51 + $(use_enable ntlm) \
52 + $(use_enable threads pthreads) \
53 + $(use_enable debug) \
54 + $(use_with ssl openssl)
55 +}
56 +
57 +src_install() {
58 + emake DESTDIR="${D}" install
59 + dodoc AUTHORS ChangeLog NEWS Notes README TODO
60 + insinto /usr/share/doc/${PF}/xml
61 + doins doc/api.xml
62 +}