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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Feb 16 17:11:53 2008 UTC (11 years, 11 months ago) by opfer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
make the wrapper script find the Motif libs find in a more elegant way.  Hints by ulm on bug 204264
(Portage version: 2.1.4.4, RepoMan options: --force)

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-r1.ebuild,v 1.2 2008/02/13 08:27:50 opfer Exp $
4
5 inherit eutils multilib rpm
6
7 DESCRIPTION="ICA Client for Citrix Presentation servers"
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.3.0
36 !<x11-libs/openmotif-2.3.0
37 amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 )"
38 DEPEND="${RDEPEND}"
39
40 S="${WORKDIR}/usr"
41
42 pkg_setup() {
43 # Binary x86 package
44 has_multilib_profile && ABI="x86"
45 }
46
47 pkg_nofetch() {
48 einfo "Please download ${A} yourself from www.citrix.com"
49 einfo "http://www.citrix.co.uk/English/SS/downloads/details.asp?dID=2755&downloadID=3323&pID=186"
50 einfo "and place it in ${DISTDIR}"
51 }
52
53 src_unpack() {
54 # You must download ICAClient-10.0-2.i386.rpm
55 # from www.citrix.com and put it in ${DISTDIR}
56 einfo "Unpacking"
57 rpm_src_unpack
58 }
59
60 src_install() {
61 dodir /opt/ICAClient
62
63 insinto /opt/ICAClient
64 doins lib/ICAClient/Npica* lib/ICAClient/*.DLL lib/ICAClient/eula.txt \
65 lib/ICAClient/npica.so lib/ICAClient/readme.txt lib/ICAClient/libctxssl.so
66
67 insinto /opt/ICAClient/config
68 doins lib/ICAClient/config/* lib/ICAClient/config/.*
69
70 insinto /opt/ICAClient/config/usertemplate
71 doins lib/ICAClient/config/usertemplate/*
72
73 insinto /opt/ICAClient/help
74 doins lib/ICAClient/help/*
75
76 insinto /opt/ICAClient/nls
77 dosym en /opt/ICAClient/nls/C
78
79 insinto /opt/ICAClient/nls/en
80 doins lib/ICAClient/nls/en/*
81
82 insinto /opt/ICAClient/nls/en/UTF-8
83 doins lib/ICAClient/nls/en/UTF-8/*
84
85 insinto /opt/ICAClient/icons
86 doins lib/ICAClient/icons/*
87
88 insinto /opt/ICAClient/keyboard
89 doins lib/ICAClient/keyboard/*
90
91 insinto /opt/ICAClient/keystore/cacerts
92 doins lib/ICAClient/keystore/cacerts/*
93
94 insinto /opt/ICAClient/util
95 doins lib/ICAClient/util/{XCapture,XCapture.ad,echo_cmd,icalicense.sh,integrate.sh,nslaunch,pac.js,pacexec,xcapture}
96 dosym /opt/ICAClient/util/integrate.sh /opt/ICAClient/util/disintegrate.sh
97
98 exeinto /opt/ICAClient
99 doexe lib/ICAClient/wfcmgr lib/ICAClient/wfcmgr.bin lib/ICAClient/wfica \
100 lib/ICAClient/wfica_assoc.sh lib/ICAClient/wfica.sh
101
102 doenvd "${FILESDIR}"/10ICAClient
103
104 insinto /usr/$(get_libdir)/nsbrowser/plugins
105 dosym /opt/ICAClient/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
106
107 dosym /usr/$(get_libdir)/libXm.so /usr/$(get_libdir)/libXm.so.3
108
109 # The .desktop file included in the rpm links to /usr/lib, so we make a new
110 # one. The program gives errors and has slowdowns if the locale is not
111 # English, so strip it since it has no translations anyway
112 doicon lib/ICAClient/icons/*
113 make_wrapper wfcmgr 'env LC_ALL="" LANG="" /opt/ICAClient/wfcmgr'
114 make_desktop_entry wfcmgr 'Citrix ICA Client' manager.xpm
115 }

  ViewVC Help
Powered by ViewVC 1.1.20