1 |
commit: 9442a84ef4ad8a845230ba1af7fb2591db36d0d3 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 20 23:18:28 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 20 23:56:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9442a84e |
7 |
|
8 |
dev-libs/cyberjack: add 3.99.5_p15 |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
dev-libs/cyberjack/Manifest | 1 + |
13 |
dev-libs/cyberjack/cyberjack-3.99.5_p15.ebuild | 90 ++++++++++++++++++++++++++ |
14 |
2 files changed, 91 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/cyberjack/Manifest b/dev-libs/cyberjack/Manifest |
17 |
index 6497d260a643..19b103baa141 100644 |
18 |
--- a/dev-libs/cyberjack/Manifest |
19 |
+++ b/dev-libs/cyberjack/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST pcsc-cyberjack_3.99.5final.SP14.tar.bz2 1682821 BLAKE2B 389b0da28beec42e3e2f1766b76dd77efec24bf7aea906ff14ad206c182162125431ac6c81e9242813c088b4936958b8056f5e7c71424c95de6e8e1ac2357aed SHA512 c83e142d6c071f7f20f9f15b9b76ed819873760bda4b49ec042506b2d7ef9ad8674c953abe67f08a1c4b178ce44767ba6479ea1148d8eeb38797e4775b2a9e82 |
22 |
+DIST pcsc-cyberjack_3.99.5final.SP15.tar.bz2 1681827 BLAKE2B e6b8325e4822f24e31b7986d5a7bc0ee2c99bd29568c19ac1fe8d308f561b0bcecfcc3e0ac2633b13986b2422bb014d28c7953e622021476ac3188de4dd0ed15 SHA512 d1a5454aea96866581f48a240b96013bd0c313965a8ef7a384ac41a929f3e805ad13590c383dab7638134c730e6f26e6cd1492d533f4910aad7c515016452258 |
23 |
|
24 |
diff --git a/dev-libs/cyberjack/cyberjack-3.99.5_p15.ebuild b/dev-libs/cyberjack/cyberjack-3.99.5_p15.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..44af14f1ad60 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/cyberjack/cyberjack-3.99.5_p15.ebuild |
29 |
@@ -0,0 +1,90 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+MY_PN="pcsc-${PN}" |
36 |
+MY_PV="${PV/_p/final.SP}" |
37 |
+MY_P="${MY_PN}_${MY_PV}" |
38 |
+ |
39 |
+inherit autotools toolchain-funcs udev |
40 |
+ |
41 |
+DESCRIPTION="REINER SCT cyberJack USB chipcard reader user space driver" |
42 |
+HOMEPAGE="https://www.reiner-sct.de/" |
43 |
+SRC_URI="https://support.reiner-sct.de/downloads/LINUX/V${PV/_p/_SP}/${MY_P}.tar.bz2" |
44 |
+S="${WORKDIR}/${MY_P/_/-}" |
45 |
+ |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+LICENSE="GPL-2+ LGPL-2.1+" |
48 |
+SLOT="0" |
49 |
+IUSE="static-libs threads tools +udev xml" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ sys-apps/pcsc-lite |
53 |
+ virtual/libusb:1= |
54 |
+ udev? ( virtual/udev ) |
55 |
+ xml? ( dev-libs/libxml2:2= ) |
56 |
+" |
57 |
+ |
58 |
+DEPEND="${RDEPEND}" |
59 |
+ |
60 |
+BDEPEND="virtual/pkgconfig" |
61 |
+ |
62 |
+PATCHES="${FILESDIR}/${PN}-3.99.5_p14-gcc10.patch" |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+ |
67 |
+ eautoreconf |
68 |
+} |
69 |
+ |
70 |
+src_configure() { |
71 |
+ local myeconfargs=( |
72 |
+ --disable-debug |
73 |
+ --disable-error-on-warning |
74 |
+ --disable-hal |
75 |
+ --disable-mac-universal |
76 |
+ --disable-mac-arches-i386 |
77 |
+ --disable-mac-arches-x86_64 |
78 |
+ --disable-visibility |
79 |
+ --enable-nonserial |
80 |
+ --enable-pcsc |
81 |
+ --enable-release |
82 |
+ --enable-warnings |
83 |
+ --sysconfdir="/etc/cyberjack" |
84 |
+ $(use_enable static-libs static) |
85 |
+ $(use_enable threads) |
86 |
+ $(use_enable udev) |
87 |
+ $(use_enable xml xml2) |
88 |
+ --with-usbdropdir="$($(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir)" |
89 |
+ ) |
90 |
+ |
91 |
+ econf "${myeconfargs[@]}" |
92 |
+} |
93 |
+ |
94 |
+src_compile() { |
95 |
+ default |
96 |
+ |
97 |
+ if use tools; then |
98 |
+ # cjBingo can't be compiled, as it's defines stuff, which got dropped |
99 |
+ cd "${S}"/tools/cjflash && emake |
100 |
+ cd "${S}"/tools/cjgeldkarte && emake |
101 |
+ fi |
102 |
+} |
103 |
+ |
104 |
+src_install() { |
105 |
+ default |
106 |
+ |
107 |
+ use tools && dobin tools/cjflash/cjflash tools/cjgeldkarte/cjgeldkarte |
108 |
+ use udev && udev_newrules "${FILESDIR}"/libifd-cyberjack6.udev-r1 99-cyberjack.rules |
109 |
+ |
110 |
+ dodoc debian/changelog doc/{LIESMICH,README}.{pdf,txt,xml} |
111 |
+ |
112 |
+ docinto html |
113 |
+ dodoc doc/{LIESMICH,README}.html |
114 |
+ |
115 |
+ docinto source |
116 |
+ dodoc doc/*.c* |
117 |
+ |
118 |
+ find "${D}" -name '*.la' -delete || die |
119 |
+} |