Contents of /smage/branches/alx-0_9_0/nxclient/nxclient-3.2.0-r1.smage2
Parent Directory | Revision Log
Revision 1271 -
(show annotations)
(download)
Tue Dec 29 12:48:37 2009 UTC (14 years, 4 months ago) by niro
File size: 2094 byte(s)
Tue Dec 29 12:48:37 2009 UTC (14 years, 4 months ago) by niro
File size: 2094 byte(s)
renamed branch_0.9.0 to alx-0_9_0
1 | # $Header: /alx-cvs/smage-eglibc/nxclient/nxclient-3.2.0-r1.smage2,v 1.1 2008/06/21 13:46:06 niro Exp $ |
2 | |
3 | PNAME="nxclient" |
4 | PVER="3.2.0" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="net-misc" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="A client for NX servers." |
11 | HOMEPAGE="http://www.nomachine.com/" |
12 | |
13 | DEPEND=">= dev-libs/expat-2 |
14 | >= media-libs/freetype-2 |
15 | >= media-libs/fontconfig-2 |
16 | >= x11-libs/libXft-1 |
17 | >= x11-libs/libX11-1 |
18 | >= x11-libs/libXdmcp-1 |
19 | >= x11-libs/libXrender-0.9 |
20 | >= x11-libs/libXau-1 |
21 | >= x11-libs/libXext-1 |
22 | >= sys-libs/zlib-1.2 |
23 | >= media-libs/libjpeg-6b |
24 | >= media-libs/libpng-1.2.12 |
25 | >= x11-apps/xauth-1" |
26 | |
27 | NXPVER="${PVER}-9" |
28 | # both files must be fetch or our md5-logic breaks |
29 | SRCFILE="${PNAME}-${NXPVER}.i386.tar.gz" |
30 | SRCDIR="${BUILDDIR}/NX" |
31 | |
32 | NXSSH_PVER="${PVER}-1" |
33 | NXSSH_SRCFILE="nxssh-${NXSSH_PVER}.tar.gz" |
34 | NXSSH_SRCDIR="${BUILDDIR}/nxssh" |
35 | |
36 | NXCOMP_PVER="${PVER}-6" |
37 | NXCOMP_SRCFILE="nxcomp-${NXCOMP_PVER}.tar.gz" |
38 | NXCOMP_SRCDIR="${BUILDDIR}/nxcomp" |
39 | |
40 | sminclude mtools alx |
41 | |
42 | SRC_URI=( |
43 | http://web04.nomachine.com/download/${PVER}/Linux/${SRCFILE} |
44 | http://web04.nomachine.com/download/${PVER}/sources/${NXSSH_SRCFILE} |
45 | http://web04.nomachine.com/download/${PVER}/sources/${NXCOMP_SRCFILE} |
46 | mirror://${PNAME}/${SRCFILE} |
47 | mirror://${PNAME}/nxclient-wrapper |
48 | ) |
49 | |
50 | src_prepare() |
51 | { |
52 | munpack ${SRCFILE} || die |
53 | munpack ${NXCOMP_SRCFILE} || die |
54 | munpack ${NXSSH_SRCFILE} || die |
55 | } |
56 | |
57 | src_install() |
58 | { |
59 | cd ${SRCDIR} |
60 | |
61 | # needed directories |
62 | minstalldir /usr/bin || die |
63 | minstalldir /usr/NX/bin || die |
64 | minstalldir /usr/NX/lib || die |
65 | minstalldir /usr/NX/share || die |
66 | |
67 | local i |
68 | #for i in nxclient nxesd nxkill nxprint nxservice nxssh |
69 | for i in nxclient nxkill nxservice nxssh |
70 | do |
71 | minstallexec -s nxclient-wrapper /usr/bin/${i} || die |
72 | minstallexec ${SRCDIR}/bin/${i} /usr/NX/bin || die |
73 | done |
74 | |
75 | # install libs |
76 | cp -a ${SRCDIR}/lib/libXcomp.so* ${BINDIR}/usr/NX/lib || die |
77 | cp -a ${SRCDIR}/lib/libXcompsh.so* ${BINDIR}/usr/NX/lib || die |
78 | cp -a ${SRCDIR}/lib/libcrypto.so* ${BINDIR}/usr/NX/lib || die |
79 | |
80 | # share data |
81 | cp -a ${SRCDIR}/share/* ${BINDIR}/usr/NX/share || die |
82 | rm -rf ${BINDIR}/usr/NX/share/{cups,documents,icons} || die |
83 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |