1 |
commit: 73f32fd505fc7f47508ffbe02d07f08d4ef9e53c |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 23:20:12 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 23:20:12 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f32fd5 |
7 |
|
8 |
dev-libs/libp11: add libressl support |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-libs/libp11/libp11-0.2.8-r4.ebuild | 43 ++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 43 insertions(+) |
14 |
|
15 |
diff --git a/dev-libs/libp11/libp11-0.2.8-r4.ebuild b/dev-libs/libp11/libp11-0.2.8-r4.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..7159519 |
18 |
--- /dev/null |
19 |
+++ b/dev-libs/libp11/libp11-0.2.8-r4.ebuild |
20 |
@@ -0,0 +1,43 @@ |
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 autotools |
28 |
+ |
29 |
+DESCRIPTION="Abstraction layer to simplify PKCS#11 API" |
30 |
+HOMEPAGE="https://github.com/opensc/libp11/wiki" |
31 |
+SRC_URI="mirror://sourceforge/opensc/${PN}/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="LGPL-2.1" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
36 |
+IUSE="libressl doc" |
37 |
+ |
38 |
+RDEPEND=" |
39 |
+ !libressl? ( dev-libs/openssl:0= ) |
40 |
+ libressl? ( dev-libs/libressl:0= )" |
41 |
+DEPEND="${RDEPEND} |
42 |
+ virtual/pkgconfig |
43 |
+ doc? ( app-doc/doxygen )" |
44 |
+ |
45 |
+src_prepare() { |
46 |
+ epatch "${FILESDIR}"/${P}-no-ltdl.patch |
47 |
+ epatch "${FILESDIR}"/${P}-variable-buffer-size.patch |
48 |
+ eautoreconf |
49 |
+} |
50 |
+ |
51 |
+src_configure() { |
52 |
+ econf \ |
53 |
+ --docdir="/usr/share/doc/${PF}" \ |
54 |
+ --htmldir="/usr/share/doc/${PF}/html" \ |
55 |
+ --enable-shared --disable-static \ |
56 |
+ --enable-doc \ |
57 |
+ $(use_enable doc api-doc) |
58 |
+} |
59 |
+ |
60 |
+src_install() { |
61 |
+ default |
62 |
+ prune_libtool_files |
63 |
+} |