blob: c47e5c92232bb6155d055585141bcbd12ad17426 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/icaclient-8.0-r2.ebuild,v 1.1 2004/10/30 17:23:06 weeve Exp $
DESCRIPTION="ICA Client"
HOMEPAGE="http://www.citrix.com/download/unix-downloads.asp"
SRC_URI="ICAClient-8.0-1.i386.rpm"
LICENSE="as-is"
SLOT="0"
KEYWORDS="-* ~x86"
IUSE=""
RESTRICT="fetch"
RDEPEND="virtual/libc
virtual/x11"
DEPEND="${RDEPEND}
>=app-arch/rpm-3.0.6"
S="${WORKDIR}/usr"
pkg_nofetch() {
einfo "Please download ${A} yourself from www.citrix.com"
einfo "and place it in ${DISTDIR}"
}
src_unpack() {
# You must download ICAClient-8.0-1.i386.rpm
# from www.citrix.com and put it in ${DISTDIR}
rpm2cpio ${DISTDIR}/${A} | cpio -i --make-directories
}
src_install() {
dodir /opt/ICAClient
insinto /opt/ICAClient/.config
doins lib/ICAClient/.config/*
insinto /opt/ICAClient
doins lib/ICAClient/Npica*
doins lib/ICAClient/*.DLL
doins lib/ICAClient/Wfcmgr*
doins lib/ICAClient/Wfica*
doins lib/ICAClient/eula.txt
doins lib/ICAClient/npica.so
doins lib/ICAClient/readme.txt
insinto /opt/ICAClient/cache
doins lib/ICAClient/cache/*
insinto /opt/ICAClient/config
doins lib/ICAClient/config/*
doins lib/ICAClient/config/.*
insinto /opt/ICAClient/help
doins lib/ICAClient/help/*
insinto /opt/ICAClient/nls
dosym en /opt/ICAClient/nls/C
insinto /opt/ICAClient/nls/en
doins lib/ICAClient/nls/en/*
insinto /opt/ICAClient/icons
doins lib/ICAClient/icons/*
insinto /opt/ICAClient/keyboard
doins lib/ICAClient/keyboard/*
insinto /opt/ICAClient/keystore/cacerts
doins lib/ICAClient/keystore/cacerts/*
insinto /opt/ICAClient/pkginf
doins lib/ICAClient/pkginf/*
insinto /opt/ICAClient/util
doins lib/ICAClient/util/*
exeinto /opt/ICAClient
doexe lib/ICAClient/wfcmgr
doexe lib/ICAClient/wfcmgr.bin
doexe lib/ICAClient/wfica
insinto /etc/env.d
doins ${FILESDIR}/10ICAClient
insinto /usr/lib/nsbrowser/plugins
dosym /opt/ICAClient/npica.so /usr/lib/nsbrowser/plugins/npica.so
}
|