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

Contents of /net-misc/icaclient/icaclient-10.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Apr 10 21:54:22 2007 UTC (12 years, 9 months ago) by wolf31o2
Branch: MAIN
Version bumped to 10.0 with an updated ebuild by Russell Knighton <russell@annunaki2k2.co.uk> and closing bug #168706.
(Portage version: 2.1.2.2)

1 wolf31o2 1.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/Linux10/ICAClient-10.0-2.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.3
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.co.uk/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-10.0-2.i386.rpm
53     # from www.citrix.com and put it in ${DISTDIR}
54     einfo "Unpacking"
55     rpm_src_unpack
56     }
57    
58     src_install() {
59     dodir /opt/ICAClient
60    
61     insinto /opt/ICAClient
62     doins lib/ICAClient/Npica* lib/ICAClient/*.DLL lib/ICAClient/eula.txt \
63     lib/ICAClient/npica.so lib/ICAClient/readme.txt lib/ICAClient/libctxssl.so
64    
65     insinto /opt/ICAClient/config
66     doins lib/ICAClient/config/* lib/ICAClient/config/.*
67    
68     insinto /opt/ICAClient/config/usertemplate
69     doins lib/ICAClient/config/usertemplate/*
70    
71     insinto /opt/ICAClient/help
72     doins lib/ICAClient/help/*
73    
74     insinto /opt/ICAClient/nls
75     dosym en /opt/ICAClient/nls/C
76    
77     insinto /opt/ICAClient/nls/en
78     doins lib/ICAClient/nls/en/*
79    
80     insinto /opt/ICAClient/nls/en/UTF-8
81     doins lib/ICAClient/nls/en/UTF-8/*
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     lib/ICAClient/wfica_assoc.sh lib/ICAClient/wfica.sh
99    
100     doenvd "${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' manager.xpm
111     }

  ViewVC Help
Powered by ViewVC 1.1.20