Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/libdkim/
Date: Sun, 11 Oct 2015 00:10:07
Message-Id: 1444522535.6619a0e3b86fbb8949961deb3c863a511bd8e188.blueness@gentoo
1 commit: 6619a0e3b86fbb8949961deb3c863a511bd8e188
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 11 00:15:35 2015 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 11 00:15:35 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6619a0e3
7
8 mail-filter/libdkim: add libressl support
9
10 Package-Manager: portage-2.2.20.1
11
12 mail-filter/libdkim/libdkim-1.0.21-r3.ebuild | 54 ++++++++++++++++++++++++++++
13 1 file changed, 54 insertions(+)
14
15 diff --git a/mail-filter/libdkim/libdkim-1.0.21-r3.ebuild b/mail-filter/libdkim/libdkim-1.0.21-r3.ebuild
16 new file mode 100644
17 index 0000000..4fac329
18 --- /dev/null
19 +++ b/mail-filter/libdkim/libdkim-1.0.21-r3.ebuild
20 @@ -0,0 +1,54 @@
21 +# Copyright 1999-2015 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI="5"
26 +
27 +AUTOTOOLS_AUTORECONF=1
28 +AUTOTOOLS_IN_SOURCE_BUILD=1
29 +
30 +inherit autotools-utils eutils toolchain-funcs
31 +
32 +DESCRIPTION="DomainKeys Identified Mail library from Alt-N Inc"
33 +HOMEPAGE="http://libdkim.sourceforge.net"
34 +SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
35 +
36 +LICENSE="Apache-2.0 yahoo-patent-license-1.2"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE="libressl static-libs"
40 +
41 +DEPEND="
42 + !libressl? ( dev-libs/openssl:0 )
43 + libressl? ( dev-libs/libressl )
44 + app-arch/unzip"
45 +RDEPEND="
46 + !mail-filter/libdkim-exim
47 + dev-libs/openssl"
48 +
49 +S="${WORKDIR}/${PN}/src"
50 +
51 +src_prepare() {
52 + ecvs_clean
53 + cp "${FILESDIR}"/debianize/* "${S}"
54 + epatch "${FILESDIR}"/patches/*.patch
55 + epatch "${FILESDIR}"/libdkim-extra-options.patch
56 +
57 + # Bug 476772
58 + if ! use static-libs; then
59 + sed -i \
60 + -e '/^TARGETS/s/libdkim.a//' \
61 + -e '/install -m 644 libdkim.a/d' \
62 + Makefile.in || die 'sed on Makefile.in failed'
63 + fi
64 +
65 + # Bug 476770
66 + tc-export AR
67 +
68 + autotools-utils_src_prepare
69 +}
70 +
71 +src_install() {
72 + autotools-utils_src_install
73 + dodoc ../README
74 +}