Contents of /smage/trunk/core/ica-client/ica-client-11.100-r1.smage2
Parent Directory | Revision Log
Revision 300 -
(show annotations)
(download)
Tue Apr 27 23:09:49 2010 UTC (14 years ago) by niro
File size: 2349 byte(s)
Tue Apr 27 23:09:49 2010 UTC (14 years ago) by niro
File size: 2349 byte(s)
auto added: ver bump to 6.00.908-r1
1 | # $Id$ |
2 | |
3 | PNAME="ica-client" |
4 | PVER="11.100" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="net-misc" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Citrix ICA client." |
11 | HOMEPAGE="http://www.citrix.com/" |
12 | |
13 | DEPEND=">= virtual/glibc |
14 | >= x11-libs/libXp-1 |
15 | >= x11-libs/libXaw-1 |
16 | >= x11-libs/libX11-1 |
17 | >= x11-libs/libSM-1 |
18 | >= x11-libs/libICE-1 |
19 | >= x11-libs/libXpm-3.5 |
20 | >= x11-libs/openmotif-2.3.2" |
21 | |
22 | SDEPEND=">= app-arch/rpm2targz-9.0" |
23 | # >= dev-util/desktop-file-utils-0.10" |
24 | |
25 | SRCFILE="ICAClient-${PVER}-1.i386.rpm" |
26 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
27 | |
28 | sminclude mtools xdg mcore-split |
29 | |
30 | SRC_URI=( |
31 | http://download2.citrix.com/FILES/en/products/Linux${PVER:0:2}/${SRCFILE} |
32 | mirror://${PNAME}/${SRCFILE} |
33 | ) |
34 | |
35 | src_prepare() |
36 | { |
37 | install -d ${SRCDIR} || die |
38 | cd ${SRCDIR} |
39 | |
40 | rpm2targz ${SOURCEDIR}/${PNAME}/${SRCFILE} || die |
41 | tar --no-same-owner -xvzf ${SRCDIR}/${SRCFILE/.rpm/.tar.gz} || die |
42 | } |
43 | |
44 | src_install() |
45 | { |
46 | cd ${SRCDIR}/usr/lib/ICAClient |
47 | |
48 | # needed directories |
49 | minstalldir /etc/env.d || die |
50 | minstalldir /usr/bin || die |
51 | minstalldir /usr/$(mlibdir)/nsbrowser/plugins || die |
52 | minstalldir /opt/ica-client/.config || die |
53 | |
54 | cp -a * ${BINDIR}/opt/ica-client || die |
55 | |
56 | # copy some inis to config dir from nls dir |
57 | minstallfile ${BINDIR}/opt/ica-client/nls/en/appsrv.ini /opt/ica-client/config || die |
58 | minstallfile ${BINDIR}/opt/ica-client/nls/en/module.ini /opt/ica-client/config || die |
59 | minstallfile ${BINDIR}/opt/ica-client/nls/en/wfclient.ini /opt/ica-client/config || die |
60 | |
61 | # install icons in a proper directory |
62 | minstallpixmap icons/session.xpm || die |
63 | minstallpixmap icons/manager.xpm || die |
64 | |
65 | # # and create a desktop file |
66 | # minstall_desktop_icon \ |
67 | # --name "Citrix Program Neighbourhood" \ |
68 | # --file wfcmgr \ |
69 | # --exec /usr/bin/wfcmgr \ |
70 | # --icon manager.xpm \ |
71 | # --categories Network,Application || die |
72 | |
73 | # install browser plugin to a proper location |
74 | mlink /opt/ica-client/npica.so /usr/$(mlibdir)/nsbrowser/plugins/npica.so || die |
75 | |
76 | # install wrappers to prevent slowdowns with other locales than 'C' |
77 | echo 'env LC_ALL="" LANG="" /opt/ica-client/wfcmgr $*' > ${BINDIR}/usr/bin/wfcmgr || die |
78 | echo 'env LC_ALL="" LANG="" /opt/ica-client/wfica $*' > ${BINDIR}/usr/bin/wfica || die |
79 | mchmod 0755 /usr/bin/wfcmgr || die |
80 | mchmod 0755 /usr/bin/wfica || die |
81 | |
82 | # fixes some hardcoded pathes |
83 | minstalldir /etc/env.d || die |
84 | echo 'ICAROOT=/opt/ica-client' > ${BINDIR}/etc/env.d/10ica-client || die |
85 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |