summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2022-01-21 00:18:28 +0100
committerConrad Kostecki <conikost@gentoo.org>2022-01-21 00:56:18 +0100
commit9442a84ef4ad8a845230ba1af7fb2591db36d0d3 (patch)
tree698e33eaf8307632608f9933c3240f37bbd0ccf1 /dev-libs/cyberjack
parentapp-benchmarks/stress-ng: drop 0.13.09 (diff)
downloadgentoo-9442a84ef4ad8a845230ba1af7fb2591db36d0d3.tar.gz
gentoo-9442a84ef4ad8a845230ba1af7fb2591db36d0d3.tar.bz2
gentoo-9442a84ef4ad8a845230ba1af7fb2591db36d0d3.zip
dev-libs/cyberjack: add 3.99.5_p15
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/cyberjack')
-rw-r--r--dev-libs/cyberjack/Manifest1
-rw-r--r--dev-libs/cyberjack/cyberjack-3.99.5_p15.ebuild90
2 files changed, 91 insertions, 0 deletions
diff --git a/dev-libs/cyberjack/Manifest b/dev-libs/cyberjack/Manifest
index 6497d260a643..19b103baa141 100644
--- a/dev-libs/cyberjack/Manifest
+++ b/dev-libs/cyberjack/Manifest
@@ -1 +1,2 @@
DIST pcsc-cyberjack_3.99.5final.SP14.tar.bz2 1682821 BLAKE2B 389b0da28beec42e3e2f1766b76dd77efec24bf7aea906ff14ad206c182162125431ac6c81e9242813c088b4936958b8056f5e7c71424c95de6e8e1ac2357aed SHA512 c83e142d6c071f7f20f9f15b9b76ed819873760bda4b49ec042506b2d7ef9ad8674c953abe67f08a1c4b178ce44767ba6479ea1148d8eeb38797e4775b2a9e82
+DIST pcsc-cyberjack_3.99.5final.SP15.tar.bz2 1681827 BLAKE2B e6b8325e4822f24e31b7986d5a7bc0ee2c99bd29568c19ac1fe8d308f561b0bcecfcc3e0ac2633b13986b2422bb014d28c7953e622021476ac3188de4dd0ed15 SHA512 d1a5454aea96866581f48a240b96013bd0c313965a8ef7a384ac41a929f3e805ad13590c383dab7638134c730e6f26e6cd1492d533f4910aad7c515016452258
diff --git a/dev-libs/cyberjack/cyberjack-3.99.5_p15.ebuild b/dev-libs/cyberjack/cyberjack-3.99.5_p15.ebuild
new file mode 100644
index 000000000000..44af14f1ad60
--- /dev/null
+++ b/dev-libs/cyberjack/cyberjack-3.99.5_p15.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="pcsc-${PN}"
+MY_PV="${PV/_p/final.SP}"
+MY_P="${MY_PN}_${MY_PV}"
+
+inherit autotools toolchain-funcs udev
+
+DESCRIPTION="REINER SCT cyberJack USB chipcard reader user space driver"
+HOMEPAGE="https://www.reiner-sct.de/"
+SRC_URI="https://support.reiner-sct.de/downloads/LINUX/V${PV/_p/_SP}/${MY_P}.tar.bz2"
+S="${WORKDIR}/${MY_P/_/-}"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="0"
+IUSE="static-libs threads tools +udev xml"
+
+RDEPEND="
+ sys-apps/pcsc-lite
+ virtual/libusb:1=
+ udev? ( virtual/udev )
+ xml? ( dev-libs/libxml2:2= )
+"
+
+DEPEND="${RDEPEND}"
+
+BDEPEND="virtual/pkgconfig"
+
+PATCHES="${FILESDIR}/${PN}-3.99.5_p14-gcc10.patch"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-debug
+ --disable-error-on-warning
+ --disable-hal
+ --disable-mac-universal
+ --disable-mac-arches-i386
+ --disable-mac-arches-x86_64
+ --disable-visibility
+ --enable-nonserial
+ --enable-pcsc
+ --enable-release
+ --enable-warnings
+ --sysconfdir="/etc/cyberjack"
+ $(use_enable static-libs static)
+ $(use_enable threads)
+ $(use_enable udev)
+ $(use_enable xml xml2)
+ --with-usbdropdir="$($(tc-getPKG_CONFIG) libpcsclite --variable=usbdropdir)"
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+ default
+
+ if use tools; then
+ # cjBingo can't be compiled, as it's defines stuff, which got dropped
+ cd "${S}"/tools/cjflash && emake
+ cd "${S}"/tools/cjgeldkarte && emake
+ fi
+}
+
+src_install() {
+ default
+
+ use tools && dobin tools/cjflash/cjflash tools/cjgeldkarte/cjgeldkarte
+ use udev && udev_newrules "${FILESDIR}"/libifd-cyberjack6.udev-r1 99-cyberjack.rules
+
+ dodoc debian/changelog doc/{LIESMICH,README}.{pdf,txt,xml}
+
+ docinto html
+ dodoc doc/{LIESMICH,README}.html
+
+ docinto source
+ dodoc doc/*.c*
+
+ find "${D}" -name '*.la' -delete || die
+}