Annotation of /smage/trunk/core/ica-client/ica-client-6.00.908-r1.smage2
Parent Directory | Revision Log
Revision 300 -
(hide annotations)
(download)
Tue Apr 27 23:09:49 2010 UTC (14 years ago) by niro
File size: 2766 byte(s)
Tue Apr 27 23:09:49 2010 UTC (14 years ago) by niro
File size: 2766 byte(s)
auto added: ver bump to 6.00.908-r1
1 | niro | 300 | # $Id$ |
2 | |||
3 | PNAME="ica-client" | ||
4 | PVER="6.00.908" | ||
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/libSM-1 | ||
15 | >= x11-libs/libICE-1 | ||
16 | >= x11-libs/libX11-1 | ||
17 | >= x11-libs/libXext-1 | ||
18 | >= x11-libs/libXaw-1 | ||
19 | >= x11-libs/libXpm-3.5" | ||
20 | |||
21 | SDEPEND=">= app-arch/cpio-2" | ||
22 | |||
23 | SRCFILE="linuxx86-${PVER}.tar.gz" | ||
24 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
25 | |||
26 | # MCORE_ONLY_KEEP="# only keep the essential files to run wfica | ||
27 | # usr/bin/wfica | ||
28 | # opt/ica-client/wfica | ||
29 | # opt/ica-client/wfica.sh | ||
30 | # | ||
31 | # # needed to run wfica | ||
32 | # opt/ica-client/CHARICONV.DLL | ||
33 | # | ||
34 | # # needed for basic session encryption | ||
35 | # opt/ica-client/PDCRYPT1.DLL | ||
36 | # | ||
37 | # # proxy support, needed by wfica | ||
38 | # opt/ica-client/libproxy.so | ||
39 | # | ||
40 | # # wfica configuration files | ||
41 | # opt/ica-client/config | ||
42 | # | ||
43 | # # keyboard layouts | ||
44 | # opt/ica-client/keyboard/keyboard.ini | ||
45 | # opt/ica-client/keyboard/automatic.kbd | ||
46 | # opt/ica-client/keyboard/linux.kbd | ||
47 | # | ||
48 | # # language support | ||
49 | # opt/ica-client/nls/C | ||
50 | # opt/ica-client/nls/en/Wfica | ||
51 | # # keep UTF-8 too | ||
52 | # opt/ica-client/nls/en/UTF-8/Wfica" | ||
53 | |||
54 | sminclude mtools mcore-split | ||
55 | |||
56 | SRC_URI=( mirror://${PNAME}/${SRCFILE} ) | ||
57 | |||
58 | src_prepare() | ||
59 | { | ||
60 | install -d ${SRCDIR}/unpack || die | ||
61 | munpack ${SRCFILE} ${SRCDIR} || die | ||
62 | cd ${SRCDIR}/unpack | ||
63 | cat ../linuxx86/linuxx86.cor | cpio -i || die | ||
64 | } | ||
65 | |||
66 | mcore_generic_src_install() | ||
67 | { | ||
68 | cd ${SRCDIR}/unpack | ||
69 | |||
70 | # needed directories | ||
71 | minstalldir /etc/env.d || die | ||
72 | minstalldir /usr/bin || die | ||
73 | minstalldir /usr/$(mlibdir)/nsbrowser/plugins || die | ||
74 | minstalldir /opt/ica-client/.config || die | ||
75 | |||
76 | cp -a * ${BINDIR}/opt/ica-client || die | ||
77 | |||
78 | # install icons in a proper directory | ||
79 | minstallpixmap icons/ica16.xpm || die | ||
80 | minstallpixmap icons/ica32.xpm || die | ||
81 | minstallpixmap icons/ica48.xpm || die | ||
82 | minstallpixmap icons/ica64.xpm || die | ||
83 | |||
84 | # install browser plugin to a proper location | ||
85 | mlink /opt/ica-client/npica.so /usr/$(mlibdir)/nsbrowser/plugins/npica.so || die | ||
86 | |||
87 | # install wrappers to prevent slowdowns with other locales than 'C' | ||
88 | echo 'env LC_ALL="" LANG="" /opt/ica-client/wfcmgr $*' > ${BINDIR}/usr/bin/wfcmgr || die | ||
89 | echo 'env LC_ALL="" LANG="" /opt/ica-client/wfica $*' > ${BINDIR}/usr/bin/wfica || die | ||
90 | mchmod 0755 /usr/bin/wfcmgr || die | ||
91 | mchmod 0755 /usr/bin/wfica || die | ||
92 | |||
93 | # fixes some hardcoded pathes | ||
94 | minstalldir /etc/env.d || die | ||
95 | echo 'ICAROOT=/opt/ica-client' > ${BINDIR}/etc/env.d/10ica-client || die | ||
96 | |||
97 | # set default browserprotocol to tcp/ip | ||
98 | # ( citrix named this in their config as UDP) | ||
99 | sed -i "s:^\(BrowserProtocol=\).*:\1UDP:" \ | ||
100 | ${BINDIR}/opt/ica-client/config/wfclient.ini || die | ||
101 | |||
102 | # auto enable com port mapping for com1 and com2 | ||
103 | sed -i 's:^\(\[WFClient\]\):\1\nComPort1=/dev/ttyS1\nComPort2=/dev/ttyS2\nLastComPortNum=2\n:' \ | ||
104 | ${BINDIR}/opt/ica-client/config/wfclient.ini || die | ||
105 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |