summaryrefslogtreecommitdiff
blob: 6963ae66338002bcbf97db156cb15a0065332d72 (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
46
47
48
49
50
51
52
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-esx-console/vmware-esx-console-2.5.2.16390.ebuild,v 1.4 2007/07/22 09:34:35 omp Exp $

MY_PN="VMware-console-2.5.2-16390.tar.gz"
S="${WORKDIR}/vmware-console-distrib"

DESCRIPTION="VMware ESX Remote Console for Linux"
HOMEPAGE="http://www.vmware.com/"
SRC_URI="${MY_PN}"

LICENSE="vmware-console"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
RESTRICT="fetch strip"

DEPEND="virtual/libc"

RDEPEND="x11-libs/gtk+
	x11-libs/libICE
	x11-libs/libSM
	x11-libs/libXext
	x11-libs/libXi
	x11-libs/libXpm
	x11-libs/libXtst
	x11-libs/libX11
	sys-libs/zlib"

pkg_nofetch() {
	einfo "Please place ${FN} in ${DISTDIR}"
}

src_install() {
	dodir /opt/vmware/bin
	cp -a bin/* ${D}/opt/vmware/bin/

	dodir /opt/vmware/lib
	cp -dr lib/* ${D}/opt/vmware/lib/

	dodir /opt/vmware/doc
	cp -a doc/* ${D}/opt/vmware/doc/

	dodir /opt/vmware/man/
	cp -a man/* ${D}/opt/vmware/man/

	dodir /usr/bin
	dosym /opt/vmware/bin/vmware-console /usr/bin/vmware-console

	dodir /usr/lib
	dosym /opt/vmware/lib /usr/lib/vmware
}