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