Contents of /trunk/extras/ica-client/ica-client-6.00.908-r1.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (16 years, 1 month ago) by niro
File size: 2034 byte(s)
Fri Oct 10 13:29:42 2008 UTC (16 years, 1 month ago) by niro
File size: 2034 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/ica-client/ica-client-10.6-r2.smage2,v 1.2 2008/02/07 14:23:39 niro Exp $ |
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/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 | |
21 | SDEPEND=">= app-arch/cpio-2 |
22 | >= dev-util/desktop-file-utils-0.10" |
23 | |
24 | SRCFILE="linuxx86-${PVER}.tar.gz" |
25 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
26 | |
27 | sminclude mtools xdg |
28 | |
29 | SRC_URI=( mirror://${PNAME}/${SRCFILE} ) |
30 | |
31 | src_prepare() |
32 | { |
33 | install -d ${SRCDIR}/unpack || die |
34 | munpack ${SRCFILE} ${SRCDIR} || die |
35 | cd ${SRCDIR}/unpack |
36 | cat ../linuxx86/linuxx86.cor | cpio -i || die |
37 | } |
38 | |
39 | src_install() |
40 | { |
41 | cd ${SRCDIR}/unpack |
42 | |
43 | # needed directories |
44 | minstalldir /etc/env.d || die |
45 | minstalldir /usr/bin || die |
46 | minstalldir /usr/$(mlibdir)/nsbrowser/plugins || die |
47 | minstalldir /opt/ica-client/.config || die |
48 | |
49 | cp -a * ${BINDIR}/opt/ica-client || die |
50 | |
51 | # install icons in a proper directory |
52 | minstallpixmap icons/ica16.xpm || die |
53 | minstallpixmap icons/ica32.xpm || die |
54 | minstallpixmap icons/ica48.xpm || die |
55 | minstallpixmap icons/ica64.xpm || die |
56 | |
57 | # and create a desktop file |
58 | minstall_desktop_icon \ |
59 | --name "Citrix Program Neighbourhood" \ |
60 | --file wfcmgr \ |
61 | --exec /usr/bin/wfcmgr \ |
62 | --icon ica48.xpm \ |
63 | --categories Network,Application || die |
64 | |
65 | # install browser plugin to a proper location |
66 | mlink /opt/ica-client/npica.so /usr/$(mlibdir)/nsbrowser/plugins/npica.so || die |
67 | |
68 | # install wrappers to prevent slowdowns with other locales than 'C' |
69 | echo 'env LC_ALL="" LANG="" /opt/ica-client/wfcmgr $*' > ${BINDIR}/usr/bin/wfcmgr || die |
70 | echo 'env LC_ALL="" LANG="" /opt/ica-client/wfica $*' > ${BINDIR}/usr/bin/wfica || die |
71 | mchmod 0755 /usr/bin/wfcmgr || die |
72 | mchmod 0755 /usr/bin/wfica || die |
73 | |
74 | # fixes some hardcoded pathes |
75 | minstalldir /etc/env.d || die |
76 | echo 'ICAROOT=/opt/ica-client' > ${BINDIR}/etc/env.d/10ica-client || die |
77 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |