summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/asekey')
-rw-r--r--app-crypt/asekey/ChangeLog10
-rw-r--r--app-crypt/asekey/asekey-3.4.ebuild46
2 files changed, 54 insertions, 2 deletions
diff --git a/app-crypt/asekey/ChangeLog b/app-crypt/asekey/ChangeLog
index e98170ebcf15..54feb928b179 100644
--- a/app-crypt/asekey/ChangeLog
+++ b/app-crypt/asekey/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-crypt/asekey
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/asekey/ChangeLog,v 1.5 2008/06/01 03:37:06 dragonheart Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/asekey/ChangeLog,v 1.6 2009/04/10 21:40:40 arfrever Exp $
+
+*asekey-3.4 (10 Apr 2009)
+
+ 10 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +asekey-3.4.ebuild:
+ Version bump.
01 Jun 2008; Daniel Black <dragonheart@gentoo.org> asekey-3.3.ebuild:
QA - add IUSE - bug #224349 thanks Marek Miller
diff --git a/app-crypt/asekey/asekey-3.4.ebuild b/app-crypt/asekey/asekey-3.4.ebuild
new file mode 100644
index 000000000000..24bc056f5c62
--- /dev/null
+++ b/app-crypt/asekey/asekey-3.4.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/asekey/asekey-3.4.ebuild,v 1.1 2009/04/10 21:40:40 arfrever Exp $
+
+DESCRIPTION="ASEKey USB SIM 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
+ >=dev-libs/libusb-0.1.10"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_install() {
+ local conf="/etc/reader.conf.d/${PN}.conf"
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ dodoc ChangeLog README
+
+ dodir "$(dirname "${conf}")"
+ insinto "$(dirname "${conf}")"
+ newins "etc/reader.conf" "$(basename "${conf}")"
+}
+
+pkg_postinst() {
+ elog "NOTICE:"
+ elog "1. Run update-reader.conf, yes this is a command..."
+ elog "2. Restart pcscd"
+}
+
+pkg_postrm() {
+ #
+ # Without this, pcscd will not start next time.
+ #
+ local conf="/etc/reader.conf.d/${PN}.conf"
+ if ! [[ -f "${conf}" && -f "$(grep LIBPATH "${conf}" | sed 's/LIBPATH *//' | sed 's/ *$//g' | head -n 1)" ]]; then
+ [[ -f "${conf}" ]] && rm "${conf}"
+ update-reader.conf
+ elog "NOTICE:"
+ elog "You need to restart pcscd"
+ fi
+}