summaryrefslogtreecommitdiff
path: root/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.5.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.5.ebuild')
-rw-r--r--app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.5.ebuild45
1 files changed, 0 insertions, 45 deletions
diff --git a/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.5.ebuild b/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.5.ebuild
deleted file mode 100644
index f4fe0e818025..000000000000
--- a/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.5.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# 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
-}