/[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.1 - (hide annotations) (download)
Mon Oct 2 17:07:44 2006 UTC (13 years, 5 months ago) by wolf31o2
Branch: MAIN
Modified to use rpm.eclass and rpm2targz.  Removing older ebuilds, since only the 9.0 client is recommended.  Closing bug #106483.
(Portage version: 2.1.2_pre1-r4)

1 wolf31o2 1.1 # Copyright 1999-2006 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.ebuild,v 1.7 2006/07/25 20:48:29 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     insinto /etc/env.d
100     doins "${FILESDIR}"/10ICAClient
101    
102     insinto /usr/$(get_libdir)/nsbrowser/plugins
103     dosym /opt/ICAClient/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
104    
105     # The .desktop file included in the rpm links to /usr/lib, so we make a new
106     # one. The program gives errors and has slowdowns if the locale is not
107     # English, so strip it since it has no translations anyway
108     doicon lib/ICAClient/icons/*
109     make_wrapper wfcmgr 'env LC_ALL="" LANG="" /opt/ICAClient/wfcmgr'
110     make_desktop_entry wfcmgr 'Citrix ICA Client' citrix48.xpm
111     }

  ViewVC Help
Powered by ViewVC 1.1.20