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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Thu Oct 11 16:28:14 2007 UTC (12 years, 3 months ago) by opfer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
clean up, tarballs are not available upstream anymore
(Portage version: 2.1.3.9)

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.ebuild,v 1.9 2007/07/22 08:19:01 dberkholz Exp $
4
5 inherit eutils multilib
6
7 DESCRIPTION="ICA Client"
8 HOMEPAGE="http://www.citrix.com/"
9 SRC_URI="ICAClient-9.0-1.i386.rpm"
10
11 LICENSE="as-is"
12 SLOT="0"
13 KEYWORDS="-* amd64 x86"
14 IUSE=""
15 RESTRICT="fetch"
16
17 RDEPEND="virtual/libc
18 x11-libs/libXp
19 x11-libs/libXaw
20 x11-libs/libX11
21 x11-libs/libSM
22 x11-libs/libICE
23 >=x11-libs/openmotif-2.2.2
24 amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 )"
25 DEPEND="${RDEPEND}
26 >=app-arch/rpm-3.0.6"
27
28 S="${WORKDIR}/usr"
29
30 pkg_setup() {
31 # Binary x86 package
32 has_multilib_profile && ABI="x86"
33 }
34
35 pkg_nofetch() {
36 einfo "Please download ${A} yourself from www.citrix.com"
37 einfo "http://www.citrix.com/English/SS/downloads/details.asp?dID=2755&downloadID=3323&pID=186"
38 einfo "and place it in ${DISTDIR}"
39 }
40
41 src_unpack() {
42 # You must download ICAClient-9.0-1.i386.rpm
43 # from www.citrix.com and put it in ${DISTDIR}
44 rpm2cpio ${DISTDIR}/${A} | cpio -i --make-directories
45 }
46
47 src_install() {
48 dodir /opt/ICAClient
49 insinto /opt/ICAClient/.config
50 doins lib/ICAClient/.config/*
51 insinto /opt/ICAClient
52 doins lib/ICAClient/Npica*
53 doins lib/ICAClient/*.DLL
54 doins lib/ICAClient/Wfcmgr*
55 doins lib/ICAClient/Wfica*
56 doins lib/ICAClient/eula.txt
57 doins lib/ICAClient/npica.so
58 doins lib/ICAClient/readme.txt
59 doins lib/ICAClient/libctxssl.so
60 insinto /opt/ICAClient/cache
61 doins lib/ICAClient/cache/*
62 insinto /opt/ICAClient/config
63 doins lib/ICAClient/config/*
64 doins lib/ICAClient/config/.*
65 insinto /opt/ICAClient/help
66 doins lib/ICAClient/help/*
67 insinto /opt/ICAClient/nls
68 dosym en /opt/ICAClient/nls/C
69 insinto /opt/ICAClient/nls/en
70 doins lib/ICAClient/nls/en/*
71 insinto /opt/ICAClient/icons
72 doins lib/ICAClient/icons/*
73 insinto /opt/ICAClient/keyboard
74 doins lib/ICAClient/keyboard/*
75 insinto /opt/ICAClient/keystore/cacerts
76 doins lib/ICAClient/keystore/cacerts/*
77 insinto /opt/ICAClient/util
78 doins lib/ICAClient/util/{XCapture,XCapture.ad,echo_cmd,icalicense.sh,integrate.sh,nslaunch,pac.js,pacexec,xcapture}
79 dosym /opt/ICAClient/util/integrate.sh /opt/ICAClient/util/disintegrate.sh
80 exeinto /opt/ICAClient
81 doexe lib/ICAClient/wfcmgr
82 doexe lib/ICAClient/wfcmgr.bin
83 doexe lib/ICAClient/wfica
84 doenvd ${FILESDIR}/10ICAClient
85 insinto /usr/$(get_libdir)/nsbrowser/plugins
86 dosym /opt/ICAClient/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
87
88 # The .desktop file included in the rpm links to /usr/lib, so we make a new one
89 # The program gives errors and has slowdowns if the locale is not English, so
90 # strip it since it has no translations anyway
91 doicon lib/ICAClient/icons/*
92 make_wrapper wfcmgr 'env LC_ALL="" LANG="" /opt/ICAClient/wfcmgr'
93 make_desktop_entry wfcmgr 'Citrix ICA Client' citrix48.xpm
94 }

  ViewVC Help
Powered by ViewVC 1.1.20