1 |
commit: c79a0efb8bd4595d843b4bdaa1a1c4b4f233b7d9 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 1 11:58:25 2021 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 1 11:59:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c79a0efb |
7 |
|
8 |
dev-libs/opensc: add 0.22.0 |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
|
12 |
dev-libs/opensc/Manifest | 1 + |
13 |
dev-libs/opensc/opensc-0.22.0.ebuild | 65 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 66 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/opensc/Manifest b/dev-libs/opensc/Manifest |
17 |
index c25c8a7d762..bbd5aee1092 100644 |
18 |
--- a/dev-libs/opensc/Manifest |
19 |
+++ b/dev-libs/opensc/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST opensc-0.21.0.tar.gz 2210878 BLAKE2B 22b63ca59cb721cdbbda755fa90f5b46fd9e5b6d7768cddbfeaffd58d68adcb145d6d604b334cf778608be9ee5fc98109f98d131d2536e61f79705aa3dbafa6c SHA512 3511b0a04a96e62011c48667e3fd36a1611fe67a89f7626ff056c9c3614f8cabc91c9924a6ca7a8ea50076a128e3967277a0dd624b4fa27c62cefee9fab22646 |
22 |
+DIST opensc-0.22.0.tar.gz 2287020 BLAKE2B 74e4bb6843b640c5a397b820a52180a34159c330f5ecb81af166096f23e2499ef1a4d555b5d71613da57ba121d0f984dcfdc2ba9491f26f826a423725a2321e2 SHA512 70ad5f1219f2ec2a5529a30d8e9955510c77c87d0bc857d5951c7227c75cf9de1c6071f43dd3816a2034123ebd902709793ff776e84d5379fdd54c811ccfaaee |
23 |
|
24 |
diff --git a/dev-libs/opensc/opensc-0.22.0.ebuild b/dev-libs/opensc/opensc-0.22.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..40c261f055b |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/opensc/opensc-0.22.0.ebuild |
29 |
@@ -0,0 +1,65 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit bash-completion-r1 libtool |
36 |
+ |
37 |
+DESCRIPTION="Libraries and applications to access smartcards" |
38 |
+HOMEPAGE="https://github.com/OpenSC/OpenSC/wiki" |
39 |
+SRC_URI="https://github.com/OpenSC/OpenSC/releases/download/${PV}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="LGPL-2.1" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86" |
44 |
+IUSE="ctapi doc openct notify +pcsc-lite readline secure-messaging ssl test zlib" |
45 |
+RESTRICT="!test? ( test )" |
46 |
+ |
47 |
+RDEPEND="zlib? ( sys-libs/zlib ) |
48 |
+ readline? ( sys-libs/readline:0= ) |
49 |
+ ssl? ( dev-libs/openssl:0= ) |
50 |
+ openct? ( >=dev-libs/openct-0.5.0 ) |
51 |
+ pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 ) |
52 |
+ notify? ( dev-libs/glib:2 )" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ app-text/docbook-xsl-stylesheets |
55 |
+ dev-libs/libxslt |
56 |
+ test? ( dev-util/cmocka )" |
57 |
+BDEPEND="virtual/pkgconfig" |
58 |
+ |
59 |
+REQUIRED_USE=" |
60 |
+ pcsc-lite? ( !openct !ctapi ) |
61 |
+ openct? ( !pcsc-lite !ctapi ) |
62 |
+ ctapi? ( !pcsc-lite !openct ) |
63 |
+ || ( pcsc-lite openct ctapi )" |
64 |
+ |
65 |
+src_prepare() { |
66 |
+ default |
67 |
+ elibtoolize |
68 |
+} |
69 |
+ |
70 |
+src_configure() { |
71 |
+ econf \ |
72 |
+ --with-completiondir="$(get_bashcompdir)" \ |
73 |
+ --disable-openpace \ |
74 |
+ --disable-static \ |
75 |
+ --disable-strict \ |
76 |
+ --enable-man \ |
77 |
+ $(use_enable ctapi) \ |
78 |
+ $(use_enable doc) \ |
79 |
+ $(use_enable notify ) \ |
80 |
+ $(use_enable openct) \ |
81 |
+ $(use_enable pcsc-lite pcsc) \ |
82 |
+ $(use_enable readline) \ |
83 |
+ $(use_enable secure-messaging sm) \ |
84 |
+ $(use_enable ssl openssl) \ |
85 |
+ $(use_enable test cmocka) \ |
86 |
+ $(use_enable zlib) |
87 |
+} |
88 |
+ |
89 |
+src_install() { |
90 |
+ default |
91 |
+ find "${D}" -name '*.la' -delete || die |
92 |
+ insinto /etc/pkcs11/modules/ |
93 |
+ doins "${FILESDIR}/${PN}.module" |
94 |
+} |