Portage is a package management system used by Gentoo Linux
# 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 $
01 Jun 2008; Daniel Black
QA - add IUSE - bug #224349 thanks Marek Miller
15 Feb 2007; Alon Bar-Lev
Fix postrm for multi libraries
14 Feb 2007; Alon Bar-Lev
Fixup for pcsc-lite-1.4
24 Jan 2007; Marius Mauch
Replacing einfo with elog
*asekey-3.3 (16 Dec 2006)
16 Dec 2006; Alon Bar-Lev
+asekey-3.3.ebuild:
Initial import
DIST asekey-3.3.tar.bz2 33588 RMD160 7ac8363f0cb27947630cf88005021810d1e588f2 SHA1 49689fceb17f80413cd9038a2ee866cb5e629142 SHA256 0be16b94b50a0f073aaaa3505524e29567547748eb94f279f054d16082ec1d7f
EBUILD asekey-3.3.ebuild 1302 RMD160 c0655d73a6f468497e26045620fcec06c4dd6f50 SHA1 e15bd17b2f5472d4bf6585f5745000103e18cae7 SHA256 a6772da8c3e79bc8371ac6063890a9bfd5a74ea2a43a134a5c64fe5aabb47dc7
MISC ChangeLog 754 RMD160 1fec6277bedd305a84b9ec463bab85352c76c669 SHA1 d3f8be1adff59f05b1f6fd21701080f9eb5fcef5 SHA256 447788df6893a4886985acba759394ca6cc0c95fcaa84cfb0950e07a5d841b69
MISC metadata.xml 224 RMD160 74db96ad8aa1d285d83ae93a9f4a767335f55c15 SHA1 d86a171d981b45e7ed0c0b3b5059d2a63c811001 SHA256 9e9ce661a9fdb45a535ad875a247b700a70745359b27533ec29a6a46fa708e86
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/asekey/asekey-3.3.ebuild,v 1.6 2008/06/01 03:37:06 dragonheart 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="~x86"
RDEPEND=">=sys-apps/pcsc-lite-1.3.0
>=dev-libs/libusb-0.1.10"
DEPEND="dev-util/pkgconfig
${RDEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
rm ifdhandler.h
}
src_compile() {
CFLAGS="${CFLAGS} -DIFDHANDLERv2" econf || die
emake || die
}
src_install() {
local conf="/etc/reader.conf.d/${PN}.conf"
emake install DESTDIR="${D}" || die
dodoc LICENSE
dodoc README
dodir "$(dirname "${conf}")"
insinto "$(dirname "${conf}")"
newins "etc/reader.conf" "$(basename "${conf}")"
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 "$(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
}