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

Contents of /net-misc/icaclient/icaclient-8.0-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations) (download)
Mon Oct 2 17:07:56 2006 UTC (13 years, 3 months ago) by wolf31o2
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Modified to use rpm.eclass and rpm2targz.  Removing older ebuilds, since only the 9.0 client is recommended.  Closing bug #106483.
(Portage version: 2.1.2_pre1-r4)
 (Signed Manifest commit)

1 wolf31o2 1.7 # Copyright 1999-2006 Gentoo Foundation
2 weeve 1.1 # Distributed under the terms of the GNU General Public License v2
3 wolf31o2 1.8 # $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/icaclient-8.0-r3.ebuild,v 1.7 2006/06/12 21:07:16 wolf31o2 Exp $
4 herbs 1.3
5     inherit multilib
6 weeve 1.1
7     DESCRIPTION="ICA Client"
8 wolf31o2 1.7 HOMEPAGE="http://www.citrix.com/"
9 weeve 1.1 SRC_URI="ICAClient-8.0-1.i386.rpm"
10    
11     LICENSE="as-is"
12     SLOT="0"
13 weeve 1.4 KEYWORDS="-* ~amd64 x86"
14 weeve 1.1 IUSE="gnome"
15     RESTRICT="fetch"
16    
17     RDEPEND="virtual/libc
18 wolf31o2 1.7 || (
19     ( x11-libs/libXp
20     x11-libs/libXaw
21     x11-libs/libX11
22     x11-libs/libSM
23     x11-libs/libICE )
24     virtual/x11 )
25     >=x11-libs/openmotif-2.2.2
26 herbs 1.3 amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0 )"
27 weeve 1.1 DEPEND="${RDEPEND}
28     >=app-arch/rpm-3.0.6"
29    
30     S="${WORKDIR}/usr"
31    
32 flameeyes 1.6 pkg_setup() {
33     # Binary x86 package
34     has_multilib_profile && ABI="x86"
35     }
36 herbs 1.3
37 weeve 1.1 pkg_nofetch() {
38     einfo "Please download ${A} yourself from www.citrix.com"
39 wolf31o2 1.7 einfo "http://www.citrix.com/English/SS/downloads/details.asp?dID=2755&downloadID=3323&pID=186"
40 weeve 1.1 einfo "and place it in ${DISTDIR}"
41     }
42    
43     src_unpack() {
44     # You must download ICAClient-8.0-1.i386.rpm
45     # from www.citrix.com and put it in ${DISTDIR}
46     rpm2cpio ${DISTDIR}/${A} | cpio -i --make-directories
47     }
48    
49     src_install() {
50     dodir /opt/ICAClient
51     insinto /opt/ICAClient/.config
52     doins lib/ICAClient/.config/*
53     insinto /opt/ICAClient
54     doins lib/ICAClient/Npica*
55     doins lib/ICAClient/*.DLL
56     doins lib/ICAClient/Wfcmgr*
57     doins lib/ICAClient/Wfica*
58     doins lib/ICAClient/eula.txt
59     doins lib/ICAClient/npica.so
60     doins lib/ICAClient/readme.txt
61     doins lib/ICAClient/libctxssl.so
62     insinto /opt/ICAClient/cache
63     doins lib/ICAClient/cache/*
64     insinto /opt/ICAClient/config
65     doins lib/ICAClient/config/*
66     doins lib/ICAClient/config/.*
67     insinto /opt/ICAClient/help
68     doins lib/ICAClient/help/*
69     insinto /opt/ICAClient/nls
70     dosym en /opt/ICAClient/nls/C
71     insinto /opt/ICAClient/nls/en
72     doins lib/ICAClient/nls/en/*
73     insinto /opt/ICAClient/icons
74     doins lib/ICAClient/icons/*
75     insinto /opt/ICAClient/keyboard
76     doins lib/ICAClient/keyboard/*
77     insinto /opt/ICAClient/keystore/cacerts
78     doins lib/ICAClient/keystore/cacerts/*
79     insinto /opt/ICAClient/pkginf
80     doins lib/ICAClient/pkginf/*
81     insinto /opt/ICAClient/util
82     doins lib/ICAClient/util/*
83     exeinto /opt/ICAClient
84     doexe lib/ICAClient/wfcmgr
85     doexe lib/ICAClient/wfcmgr.bin
86     doexe lib/ICAClient/wfica
87     insinto /etc/env.d
88     doins ${FILESDIR}/10ICAClient
89 herbs 1.3 insinto /usr/$(get_libdir)/nsbrowser/plugins
90     dosym /opt/ICAClient/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
91 weeve 1.1
92 agriffis 1.5 if use gnome; then
93 weeve 1.1 insinto /usr/share/applications
94     doins lib/ICAClient/desktop/*.desktop
95 mr_bones_ 1.2 fi
96 weeve 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20