From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-crypt/asedriveiiie-serial/Manifest | 3 ++ .../asedriveiiie-serial-3.5.ebuild | 45 ++++++++++++++++++++++ app-crypt/asedriveiiie-serial/metadata.xml | 8 ++++ 3 files changed, 56 insertions(+) create mode 100644 app-crypt/asedriveiiie-serial/Manifest create mode 100644 app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.5.ebuild create mode 100644 app-crypt/asedriveiiie-serial/metadata.xml (limited to 'app-crypt/asedriveiiie-serial') diff --git a/app-crypt/asedriveiiie-serial/Manifest b/app-crypt/asedriveiiie-serial/Manifest new file mode 100644 index 000000000000..2458527b7959 --- /dev/null +++ b/app-crypt/asedriveiiie-serial/Manifest @@ -0,0 +1,3 @@ +DIST asedriveiiie-serial-3.5.tar.bz2 32461 BLAKE2B e63162ab6f0a03e8b48e6a2d7e653f52d1cdb5b6564ea2fe8b10cee51b9769133a6f16c4176ac208c35c78600b6a636c0e0d97d7458c912caf1052ba78829b0d SHA512 b74ea2225990c36e86d106fa7e9e844e1f99d87f9869416faf3dfaa1ecaca34b4bdd4e5887746c6b039de325e03ede3ee78aadeaf20d0fabc8deba48a72a93b3 +EBUILD asedriveiiie-serial-3.5.ebuild 1033 BLAKE2B 5eccc4036fc4c6f1fd00dbefd81157a90ec3cbda9c2923e8cfe9e72d78b795c958fb44ae0943919745fc4722d61d6977005b28ca241d42571050b9862beb48e6 SHA512 86ae19c705189914c94ce4be71648ba55554c5f6b8f037d3d8dc6ffb0de90036aa128d93629a68bfe6ae32bd2c116ae3ce2258e9b05f4cfa49d688bb10114193 +MISC metadata.xml 236 BLAKE2B a7bb92e6d53f7252ee56a885bf098930e228a76a75bca119358ca860901ceeecccc43efe5279c54250ebda58f77ae9c97d2ae540d8b399283cb3aa348111fcd2 SHA512 5f6cd6a85527534d5de7118de5af212ee3044c8c5530a7f7087a28074a2d4ab7be1728325bd985adc063dc795d3cf2b1c4e58a4c4c4ec02d739bd4bbc544ef08 diff --git a/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.5.ebuild b/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.5.ebuild new file mode 100644 index 000000000000..f4fe0e818025 --- /dev/null +++ b/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="ASEDriveIIIe Serial Card Reader" +HOMEPAGE="http://www.athena-scs.com" +SRC_URI="http://www.athena-scs.com/downloads/${P}.tar.bz2" +LICENSE="BSD" +SLOT="0" +IUSE="" +KEYWORDS="~amd64 ~x86" +RDEPEND=">=sys-apps/pcsc-lite-1.3.0" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_install() { + default + + local conf="/etc/reader.conf.d/${PN}.conf" + + dodir "$(dirname "${conf}")" + insinto "$(dirname "${conf}")" + newins "etc/reader.conf" "$(basename "${conf}")" +} + +pkg_postinst() { + elog "NOTICE:" + elog "1. Update ${conf} file" + elog "2. Run update-reader.conf, yes this is a command..." + elog "3. Restart pcscd" +} + +pkg_postrm() { + # + # Without this, pcscd will not start next time. + # + local conf="/etc/reader.conf.d/${PN}.conf" + if ! [ -f "$(grep LIBPATH "${conf}" | sed 's/LIBPATH *//' | sed 's/ *$//g' | head -n 1)" ]; then + rm "${conf}" + update-reader.conf + elog "NOTICE:" + elog "You need to restart pcscd" + fi +} diff --git a/app-crypt/asedriveiiie-serial/metadata.xml b/app-crypt/asedriveiiie-serial/metadata.xml new file mode 100644 index 000000000000..f1c3d59fb213 --- /dev/null +++ b/app-crypt/asedriveiiie-serial/metadata.xml @@ -0,0 +1,8 @@ + + + + + crypto@gentoo.org + Crypto + + -- cgit v1.2.3