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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu Jul 2 19:43:32 2009 UTC (10 years, 6 months ago) by fauli
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
clean up
(Portage version: 2.1.6.13/cvs/Linux i686)

1 # Copyright 1999-2009 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-r4.ebuild,v 1.6 2009/04/03 23:59:40 fauli 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="ftp://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="mirror 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="x11-terms/xterm
29 media-fonts/font-adobe-100dpi
30 x86? (
31 x11-libs/libXp
32 x11-libs/libXaw
33 x11-libs/libX11
34 x11-libs/libSM
35 x11-libs/libICE
36 >=x11-libs/openmotif-2.3.0 )
37 amd64? ( >=app-emulation/emul-linux-x86-xlibs-20080316 )"
38 DEPEND=""
39
40 S="${WORKDIR}/usr"
41
42 pkg_setup() {
43 # Binary x86 package
44 has_multilib_profile && ABI="x86"
45 }
46
47 src_unpack() {
48 einfo "Unpacking"
49 rpm_src_unpack
50 }
51
52 src_install() {
53 dodir /opt/ICAClient
54
55 insinto /opt/ICAClient
56 doins lib/ICAClient/Npica* lib/ICAClient/*.DLL lib/ICAClient/eula.txt \
57 lib/ICAClient/npica.so lib/ICAClient/readme.txt lib/ICAClient/libctxssl.so
58
59 insinto /opt/ICAClient/config
60 doins lib/ICAClient/config/* lib/ICAClient/config/.*
61
62 insinto /opt/ICAClient/config/usertemplate
63 doins lib/ICAClient/config/usertemplate/*
64
65 insinto /opt/ICAClient/help
66 doins lib/ICAClient/help/*
67
68 insinto /opt/ICAClient/nls
69 dosym en /opt/ICAClient/nls/C
70
71 insinto /opt/ICAClient/nls/en
72 doins lib/ICAClient/nls/en/*
73
74 insinto /opt/ICAClient/nls/en/UTF-8
75 doins lib/ICAClient/nls/en/UTF-8/*
76
77 insinto /opt/ICAClient/icons
78 doins lib/ICAClient/icons/*
79
80 insinto /opt/ICAClient/keyboard
81 doins lib/ICAClient/keyboard/*
82
83 insinto /opt/ICAClient/keystore/cacerts
84 doins lib/ICAClient/keystore/cacerts/*
85
86 insinto /opt/ICAClient/util
87 doins lib/ICAClient/util/{XCapture,XCapture.ad,echo_cmd,icalicense.sh,integrate.sh,nslaunch,pac.js,pacexec,xcapture}
88 dosym /opt/ICAClient/util/integrate.sh /opt/ICAClient/util/disintegrate.sh
89
90 # wfica has libxcb locking bugs, so provide a wrapper. It needs to be in
91 # /opt/ICAClient to ensure it gets called, so rename wfica to wfica.bin.
92 exeinto /opt/ICAClient
93 doexe lib/ICAClient/wfcmgr lib/ICAClient/wfcmgr.bin \
94 lib/ICAClient/wfica_assoc.sh lib/ICAClient/wfica.sh
95 newexe lib/ICAClient/wfica wfica.bin
96 make_wrapper wfica 'env LC_ALL="" LANG="" LIBXCB_ALLOW_SLOPPY_LOCK=1 /opt/ICAClient/wfica.bin' . /opt/ICAClient /opt/ICAClient
97
98 doenvd "${FILESDIR}"/10ICAClient
99
100 insinto /usr/$(get_libdir)/nsbrowser/plugins
101 dosym /opt/ICAClient/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
102 dosym /usr/$(get_libdir)/libXm.so.4 /opt/ICAClient/libXm.so.3
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' . /opt/ICAClient
109 make_desktop_entry wfcmgr 'Citrix ICA Client' manager
110 }

  ViewVC Help
Powered by ViewVC 1.1.20