diff options
author | Conrad Kostecki <conrad@kostecki.com> | 2018-11-06 01:05:13 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-11-08 23:20:56 +0100 |
commit | aad723e6ce55230acb643114189009f7984b3ee5 (patch) | |
tree | 3adc81ca16d6f596ec026f02fb68b86096394180 /dev-libs | |
parent | dev-vcs/hg-evolve: New ebuild (diff) | |
download | gentoo-aad723e6ce55230acb643114189009f7984b3ee5.tar.gz gentoo-aad723e6ce55230acb643114189009f7984b3ee5.tar.bz2 gentoo-aad723e6ce55230acb643114189009f7984b3ee5.zip |
dev-libs/cyberjack: bump to version 3.99.5_p12.
Closes: https://bugs.gentoo.org/663948
Closes: https://bugs.gentoo.org/670448
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10343
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/cyberjack/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/cyberjack/cyberjack-3.99.5_p12.ebuild | 91 | ||||
-rw-r--r-- | dev-libs/cyberjack/metadata.xml | 19 |
3 files changed, 108 insertions, 3 deletions
diff --git a/dev-libs/cyberjack/Manifest b/dev-libs/cyberjack/Manifest index b3d3f539e3ff..f5c37c2bc9ce 100644 --- a/dev-libs/cyberjack/Manifest +++ b/dev-libs/cyberjack/Manifest @@ -1,3 +1,4 @@ DIST pcsc-cyberjack-3.99.5final.SP10.tar.bz2 958494 BLAKE2B 8e7f812ce5aeb6b3afe1ce1a0a691fa0639618eb62db22bd2d34b030518c4ec148216b07770a03e0e1dd01158c92694879c38648d08f1973f6bf8aa0859af889 SHA512 d4094b531ab523db29856ea0cf784db925bece51a5c4b5c7fec259ff319d58a50443cabdfebc0a1f6818b678a1284500429274478bf1db780ff594612e307d56 DIST pcsc-cyberjack-3.99.5final.SP11.tar.bz2 965662 BLAKE2B 568eb77c9b35557fb9f4c4f038cf6d7cd3700938fe905c8c3587ee6bd4254595d6665f199913bde3c4f03050d8e8c6006dee9222941ad1dfd0190fa33283f15c SHA512 4d63ef0442c7e919456e8b6ab1d571ab621eb45fc34fc9b61a7a024f1ae2115f7474b4aa538ee7fb8bf4ce016067c876d9970b52e6b4e8b531e2d736677ab794 +DIST pcsc-cyberjack-3.99.5final.SP12.tar.bz2 957583 BLAKE2B 02499e2e366a2caaf4881ff3db99600990ef18ef2b4dc202c5d66a2e708f5107b4c76b56021349c8e4169be2e1d12de0317680ea9502a65a89c96969b8341e13 SHA512 53993471c96caa5a802c0aff32595698dfd550f89906f2141f4d89db75da0870da60f62565604485643dfd1af35a06dde7f895b4a9fa6b39634ee8d5692b50fd DIST pcsc-cyberjack_3.99.5final.SP03.tar.gz 1485952 BLAKE2B 5dc9d5330b4b25c23e4704a0c2ed648e9ef0fb929c7f221373fd7128b77fea223480119a5dc28aa81bbe19fb5355bfd421bc93f214ebed89ee44836c7d8f0b40 SHA512 a091a09b501d7a7c757f0a458007f44ac281cbeaaf5bc3c2aa89915ee7a39478e6f80b6f24fec77be753c8d77deeda2858b7a806e3c982f54c199bd797288e05 diff --git a/dev-libs/cyberjack/cyberjack-3.99.5_p12.ebuild b/dev-libs/cyberjack/cyberjack-3.99.5_p12.ebuild new file mode 100644 index 000000000000..be9c7598650b --- /dev/null +++ b/dev-libs/cyberjack/cyberjack-3.99.5_p12.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +MY_PN="pcsc-${PN}" +MY_PV="${PV/_p/final.SP}" +MY_P="${MY_PN}-${MY_PV}" + +inherit autotools linux-info 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" + +KEYWORDS="~amd64 ~x86" +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +IUSE="static-libs threads tools +udev +usb xml" + +RDEPEND=" + sys-apps/pcsc-lite + usb? ( virtual/libusb:1 ) + udev? ( virtual/udev ) + xml? ( dev-libs/libxml2:2= ) +" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +CONFIG_CHECK="~USB_SERIAL_CYBERJACK" + +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-pcsc + --enable-release + --enable-warnings + --sysconfdir="/etc/cyberjack" + $(use_enable static-libs static) + $(use_enable threads) + $(use_enable udev) + $(use_enable usb nonserial) + $(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 debian/libifd-cyberjack6.udev 99-${PN}.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 +} diff --git a/dev-libs/cyberjack/metadata.xml b/dev-libs/cyberjack/metadata.xml index 44e2e3c13fe3..1bd534521e03 100644 --- a/dev-libs/cyberjack/metadata.xml +++ b/dev-libs/cyberjack/metadata.xml @@ -1,9 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>ck+gentoo@bl4ckb0x.de</email> + <name>Conrad Kostecki</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + REINER SCT cyberJack USB chipcard reader user space driver. + This package includes the IFD driver for the cyberJack + contactless (RFID) and contact USB chipcard reader. + </longdescription> <use> - <flag name="fox">Enable installation of <pkg>x11-libs/fox</pkg> based fxcyberjack program</flag> + <flag name="fox">Enable installation of <pkg>x11-libs/fox</pkg> based fxcyberjack program.</flag> + <flag name="tools">Build and install optional management tools.</flag> + <flag name="usb">Enable support for usb based chipcard reader.</flag> </use> </pkgmetadata> - |