add old ebuilds from svn ub0rlay
[ub0rlay.git] / app-crypt / ifdokccid_lnx_x64 / ifdokccid_lnx_x64-3.4.0.ebuild
1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 MY_FILE="${P}.tar.gz"
6
7 DESCRIPTION="PC/SC driver for CardMan 1021, 3021, 3121, 3621, 3821, 4321, 6121, Smart@Link, Smart@Key"
8 HOMEPAGE="http://www.omnikey.com"
9 SRC_URI="http://www.omnikey.com/index.php?id=69&rName=CardMan%203x21%20PC/SC%20CCID%20for%20Linux%20X64&did=69&file=${MY_FILE}"
10
11 LICENSE=""
12 SLOT="0"
13 KEYWORDS="~amd64"
14 IUSE=""
15
16 DEPEND=""
17 RDEPEND="sys-apps/pcsc-lite"
18
19 #src_unpack() {
20 #       unpack ${MY_FILE}
21 #}
22
23 src_install() {
24         insinto /usr/lib64/readers/usb/
25         doins -r ${P}.bundle
26
27         insinto /etc/udev/rules.d
28         sed -i z98_omnikey.rules -e 's:/usr/local/sbin/:/usr/sbin/:'
29         sed -i z98_omnikey.rules -e 's:}=":}==":'
30         newins z98_omnikey.rules 98-omnikey.rules
31 }
32