Magellan Linux

Contents of /trunk/nonfree/ica-client/ica-client-11.100-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5373 - (show annotations) (download)
Wed May 19 16:24:28 2010 UTC (13 years, 11 months ago) by niro
File size: 2296 byte(s)
auto added: ver bump to 11.100-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.3
21 >= x11-libs/libXinerama-1
22 >= media-fonts/font-adobe-75dpi-1"
23
24 SDEPEND=">= app-arch/rpm2targz-9.0
25 >= dev-util/desktop-file-utils-0.10"
26
27 SRCFILE="ICAClient-${PVER}-1.i386.rpm"
28 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
29
30 sminclude mtools xdg
31
32 SRC_URI=(
33 http://download2.citrix.com/FILES/en/products/Linux${PVER:0:2}/${SRCFILE}
34 mirror://${PNAME}/${SRCFILE}
35 )
36
37 # fake atm
38 UP2DATE="echo ${PVER}"
39
40 src_prepare()
41 {
42 munpack ${SRCFILE} ${SRCDIR} || die
43 }
44
45 src_install()
46 {
47 cd ${SRCDIR}/usr/lib/ICAClient
48
49 # needed directories
50 minstalldir /etc/env.d || die
51 minstalldir /usr/bin || die
52 minstalldir /usr/$(mlibdir)/nsbrowser/plugins || die
53 minstalldir /opt/ica-client/.config || die
54
55 cp -a * ${BINDIR}/opt/ica-client || die
56
57 # copy some inis to config dir from nls dir
58 minstallfile ${BINDIR}/opt/ica-client/nls/en/appsrv.ini /opt/ica-client/config || die
59 minstallfile ${BINDIR}/opt/ica-client/nls/en/module.ini /opt/ica-client/config || die
60 minstallfile ${BINDIR}/opt/ica-client/nls/en/wfclient.ini /opt/ica-client/config || die
61
62 # install icons in a proper directory
63 minstallpixmap icons/session.xpm || die
64 minstallpixmap icons/manager.png || die
65
66 # and create a desktop file
67 minstall_desktop_icon \
68 --name "Citrix Program Neighbourhood" \
69 --file wfcmgr \
70 --exec /usr/bin/wfcmgr \
71 --icon manager.xpm \
72 --categories Network,Application || die
73
74 # install browser plugin to a proper location
75 mlink /opt/ica-client/npica.so /usr/$(mlibdir)/nsbrowser/plugins/npica.so || die
76
77 # install wrappers to prevent slowdowns with other locales than 'C'
78 echo 'env LC_ALL="" LANG="" /opt/ica-client/wfcmgr.bin $*' > ${BINDIR}/usr/bin/wfcmgr || die
79 echo 'env LC_ALL="" LANG="" /opt/ica-client/wfica $*' > ${BINDIR}/usr/bin/wfica || die
80 mchmod 0755 /usr/bin/wfcmgr || die
81 mchmod 0755 /usr/bin/wfica || die
82
83 # fixes some hardcoded pathes
84 minstalldir /etc/env.d || die
85 echo 'ICAROOT=/opt/ica-client' > ${BINDIR}/etc/env.d/10ica-client || die
86 }

Properties

Name Value
svn:keywords Id