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: app-crypt/xca/
Date: Fri, 03 Jun 2016 15:58:17
Message-Id: 1464969347.90195487e35ee838e6b22a1a971bbf5e8187a2a1.blueness@gentoo
1 commit: 90195487e35ee838e6b22a1a971bbf5e8187a2a1
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 3 15:55:47 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 3 15:55:47 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90195487
7
8 app-crypt/xca: add libressl support
9
10 Package-Manager: portage-2.2.28
11
12 app-crypt/xca/xca-1.3.2-r1.ebuild | 45 +++++++++++++++++++++++++++++++++++++++
13 1 file changed, 45 insertions(+)
14
15 diff --git a/app-crypt/xca/xca-1.3.2-r1.ebuild b/app-crypt/xca/xca-1.3.2-r1.ebuild
16 new file mode 100644
17 index 0000000..58491e0
18 --- /dev/null
19 +++ b/app-crypt/xca/xca-1.3.2-r1.ebuild
20 @@ -0,0 +1,45 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI="5"
26 +
27 +inherit eutils toolchain-funcs
28 +
29 +DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests and revokation lists"
30 +HOMEPAGE="http://xca.sourceforge.net"
31 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
32 +
33 +LICENSE="BSD"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
36 +IUSE="bindist libressl"
37 +
38 +RDEPEND="
39 + !libressl? ( dev-libs/openssl:0=[bindist=] )
40 + libressl? ( dev-libs/libressl:0= )
41 + dev-qt/qtgui:4"
42 +DEPEND="${RDEPEND}"
43 +
44 +src_prepare() {
45 + epatch "${FILESDIR}"/${PN}-1.0.0-desktop.patch
46 +}
47 +
48 +src_configure() {
49 + econf \
50 + --docdir="${EPREFIX}/usr/share/doc/${PF}" \
51 + STRIP=true
52 +}
53 +
54 +src_compile() {
55 + # enforce all to avoid the automatic silent rules
56 + emake all
57 +}
58 +
59 +src_install() {
60 + # non standard destdir
61 + emake install destdir="${ED}"
62 +
63 + insinto /etc/xca
64 + doins misc/*.txt
65 +}