Annotation of /smage/trunk/core/ica-client/ica-client-10.6-r2.smage2
Parent Directory | Revision Log
Revision 393 -
(hide annotations)
(download)
Thu May 6 17:37:29 2010 UTC (14 years, 1 month ago) by niro
File size: 2328 byte(s)
Thu May 6 17:37:29 2010 UTC (14 years, 1 month ago) by niro
File size: 2328 byte(s)
-added 10.6-r2
1 | niro | 393 | # $Id$ |
2 | |||
3 | PNAME="ica-client" | ||
4 | PVER="10.6" | ||
5 | PBUILD="r2" | ||
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.2.3" | ||
21 | |||
22 | SDEPEND=">= app-arch/rpm2targz-9.0" | ||
23 | |||
24 | SRCFILE="ICAClient-${PVER}-1.i386.rpm" | ||
25 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
26 | |||
27 | # only keep the essential files to run wfica | ||
28 | MCORE_ONLY_KEEP="usr/bin/wfica | ||
29 | opt/ica-client/wfica | ||
30 | opt/ica-client/wfica.sh" | ||
31 | |||
32 | # needed to run wfica | ||
33 | MCORE_ONLY_KEEP+=" opt/ica-client/CHARICONV.DLL" | ||
34 | |||
35 | # needed for basic session encryption | ||
36 | MCORE_ONLY_KEEP+=" opt/ica-client/PDCRYPT1.DLL" | ||
37 | |||
38 | # wfica configuration files | ||
39 | MCORE_ONLY_KEEP+=" opt/ica-client/config" | ||
40 | |||
41 | # keyboard layouts | ||
42 | MCORE_ONLY_KEEP+=" opt/ica-client/keyboard/keyboard.ini | ||
43 | opt/ica-client/keyboard/automatic.kbd | ||
44 | opt/ica-client/keyboard/linux.kbd" | ||
45 | |||
46 | # language support | ||
47 | MCORE_ONLY_KEEP+=" opt/ica-client/nls/C | ||
48 | opt/ica-client/nls/en/Wfica" | ||
49 | # keep UTF-8 too | ||
50 | MCORE_ONLY_KEEP+=" opt/ica-client/nls/en/UTF-8/Wfica" | ||
51 | |||
52 | sminclude mtools mcore-split | ||
53 | |||
54 | SRC_URI=( | ||
55 | http://download2.citrix.com/FILES/en/products/Linux${PVER:0:2}/${SRCFILE} | ||
56 | mirror://${PNAME}/${SRCFILE} | ||
57 | ) | ||
58 | |||
59 | src_prepare() | ||
60 | { | ||
61 | munpack ${SRCFILE} ${SRCDIR} || die | ||
62 | } | ||
63 | |||
64 | mage_generic_src_install() | ||
65 | { | ||
66 | cd ${SRCDIR}/usr/lib/ICAClient | ||
67 | |||
68 | # needed directories | ||
69 | minstalldir /etc/env.d || die | ||
70 | minstalldir /usr/bin || die | ||
71 | minstalldir /usr/$(mlibdir)/nsbrowser/plugins || die | ||
72 | minstalldir /opt/ica-client/.config || die | ||
73 | |||
74 | cp -a * ${BINDIR}/opt/ica-client || die | ||
75 | |||
76 | # install icons in a proper directory | ||
77 | minstallpixmap icons/session.xpm || die | ||
78 | minstallpixmap icons/manager.xpm || die | ||
79 | |||
80 | # install browser plugin to a proper location | ||
81 | mlink /opt/ica-client/npica.so /usr/$(mlibdir)/nsbrowser/plugins/npica.so || die | ||
82 | |||
83 | # install wrappers to prevent slowdowns with other locales than 'C' | ||
84 | echo 'env LC_ALL="" LANG="" /opt/ica-client/wfcmgr $*' > ${BINDIR}/usr/bin/wfcmgr || die | ||
85 | echo 'env LC_ALL="" LANG="" /opt/ica-client/wfica $*' > ${BINDIR}/usr/bin/wfica || die | ||
86 | mchmod 0755 /usr/bin/wfcmgr || die | ||
87 | mchmod 0755 /usr/bin/wfica || die | ||
88 | |||
89 | # fixes some hardcoded pathes | ||
90 | minstalldir /etc/env.d || die | ||
91 | echo 'ICAROOT=/opt/ica-client' > ${BINDIR}/etc/env.d/10ica-client || die | ||
92 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |