blob: 164ce20c4dfe4ed6e89a0d4a64433e62f74ec4f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-personal/nxserver-personal-1.3.0_beta2.ebuild,v 1.2 2003/11/26 19:16:41 stuart Exp $
MY_PV="${PV}-72"
inherit nxserver
KEYWORDS="~x86"
SRC_URI="http://www.nomachine.com/download/beta/nxserver-linux-binaries-beta2/nxserver-1.3.0-4-beta2.i386.tar.gz"
DEPEND="$DEPEND
!net-misc/nxserver-business
!net-misc/nxserver-personal
net-misc/nxssh-1.3.0_beta2
>=net-misc/nxproxy-1.3.0_beta2"
RESTRICT="$RESTRICT"
S="${WORKDIR}/nxserver-install"
src_unpack ()
{
unpack ${A}
}
src_install ()
{
einfo "Installing"
find NX/lib -type l -exec rm {} \;
mv NX/etc/passwd.sample NX/etc/passwd
mkdir ${D}/usr
tar -cf - * | ( cd ${D}/usr ; tar -xf - )
dodir /usr/NX/var
dodir /usr/NX/var/sessions
touch ${D}/usr/NX/var/sessions/NOT_EMPTY
insinto /etc/env.d
#doins ${FILESDIR}/${PV}/50nxserver
fperms 0600 NX/etc/passwd
}
|