/[gentoo-x86]/net-misc/icaclient/icaclient-9.0-r1.ebuild
Gentoo

Contents of /net-misc/icaclient/icaclient-9.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Apr 9 16:14:04 2007 UTC (12 years, 10 months ago) by wolf31o2
Branch: MAIN
Changes since 1.1: +3 -4 lines
Change insinto /etc/env.d ; doins -> doenvd for bug #173884.
(Portage version: 2.1.2.2)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/icaclient-9.0-r1.ebuild,v 1.1 2006/10/02 17:07:44 wolf31o2 Exp $
4
5 inherit eutils multilib rpm
6
7 DESCRIPTION="ICA Client"
8 HOMEPAGE="http://www.citrix.com/"
9 SRC_URI="http://download2.citrix.com/files/en/products/client/ica/current/ICAClient-9.0-1.i386.rpm"
10
11 LICENSE="as-is"
12 SLOT="0"
13 KEYWORDS="-* ~amd64 ~x86"
14 IUSE=""
15 RESTRICT="fetch strip"
16
17 QA_TEXTRELS="opt/ICAClient/VDSCARD.DLL
18 opt/ICAClient/TW1.DLL
19 opt/ICAClient/NDS.DLL
20 opt/ICAClient/CHARICONV.DLL
21 opt/ICAClient/PDCRYPT1.DLL
22 opt/ICAClient/VDCM.DLL
23 opt/ICAClient/libctxssl.so
24 opt/ICAClient/PDCRYPT2.DLL
25 opt/ICAClient/npica.so"
26
27 RDEPEND="virtual/libc
28 x86? (
29 x11-libs/libXp
30 x11-libs/libXaw
31 x11-libs/libX11
32 x11-libs/libSM
33 x11-libs/libICE )
34 >=x11-libs/openmotif-2.2.2
35 amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 )"
36 DEPEND="${RDEPEND}"
37
38 S="${WORKDIR}/usr"
39
40 pkg_setup() {
41 # Binary x86 package
42 has_multilib_profile && ABI="x86"
43 }
44
45 pkg_nofetch() {
46 einfo "Please download ${A} yourself from www.citrix.com"
47 einfo "http://www.citrix.com/English/SS/downloads/details.asp?dID=2755&downloadID=3323&pID=186"
48 einfo "and place it in ${DISTDIR}"
49 }
50
51 src_unpack() {
52 # You must download ICAClient-9.0-1.i386.rpm
53 # from www.citrix.com and put it in ${DISTDIR}
54 rpm_src_unpack
55 }
56
57 src_install() {
58 dodir /opt/ICAClient
59
60 insinto /opt/ICAClient/.config
61 doins lib/ICAClient/.config/*
62
63 insinto /opt/ICAClient
64 doins lib/ICAClient/Npica* lib/ICAClient/*.DLL lib/ICAClient/Wfcmgr* \
65 lib/ICAClient/Wfica* lib/ICAClient/eula.txt lib/ICAClient/npica.so \
66 lib/ICAClient/readme.txt lib/ICAClient/libctxssl.so
67
68 insinto /opt/ICAClient/cache
69 doins lib/ICAClient/cache/*
70
71 insinto /opt/ICAClient/config
72 doins lib/ICAClient/config/* lib/ICAClient/config/.*
73
74 insinto /opt/ICAClient/help
75 doins lib/ICAClient/help/*
76
77 insinto /opt/ICAClient/nls
78 dosym en /opt/ICAClient/nls/C
79
80 insinto /opt/ICAClient/nls/en
81 doins lib/ICAClient/nls/en/*
82
83 insinto /opt/ICAClient/icons
84 doins lib/ICAClient/icons/*
85
86 insinto /opt/ICAClient/keyboard
87 doins lib/ICAClient/keyboard/*
88
89 insinto /opt/ICAClient/keystore/cacerts
90 doins lib/ICAClient/keystore/cacerts/*
91
92 insinto /opt/ICAClient/util
93 doins lib/ICAClient/util/{XCapture,XCapture.ad,echo_cmd,icalicense.sh,integrate.sh,nslaunch,pac.js,pacexec,xcapture}
94 dosym /opt/ICAClient/util/integrate.sh /opt/ICAClient/util/disintegrate.sh
95
96 exeinto /opt/ICAClient
97 doexe lib/ICAClient/wfcmgr lib/ICAClient/wfcmgr.bin lib/ICAClient/wfica
98
99 doenvd "${FILESDIR}"/10ICAClient
100
101 insinto /usr/$(get_libdir)/nsbrowser/plugins
102 dosym /opt/ICAClient/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
103
104 # The .desktop file included in the rpm links to /usr/lib, so we make a new
105 # one. The program gives errors and has slowdowns if the locale is not
106 # English, so strip it since it has no translations anyway
107 doicon lib/ICAClient/icons/*
108 make_wrapper wfcmgr 'env LC_ALL="" LANG="" /opt/ICAClient/wfcmgr'
109 make_desktop_entry wfcmgr 'Citrix ICA Client' citrix48.xpm
110 }

  ViewVC Help
Powered by ViewVC 1.1.20