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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Apr 12 06:38:41 2008 UTC (11 years, 8 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove old.
(Portage version: 2.1.5_rc2)

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

  ViewVC Help
Powered by ViewVC 1.1.20