summaryrefslogtreecommitdiff
blob: 8689487af5dbbb48ee2be7e528e7166a38bb9c1b (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation-tools/vmware-workstation-tools-5.5.2.ebuild,v 1.4 2008/09/26 17:19:00 zmedico Exp $

inherit eutils vmware

DESCRIPTION="Guest-os tools for VMware Workstation"
HOMEPAGE="http://www.vmware.com/"
SRC_URI=""

LICENSE="vmware"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86"
IUSE="X"
PROPERTIES="interactive"
RESTRICT=""

RDEPEND="sys-apps/pciutils"

S=${WORKDIR}/vmware-tools-distrib

RUN_UPDATE="no"

dir=/opt/vmware/tools
Ddir=${D}/${dir}

ANY_ANY=
TARBALL="VMwareTools-5.5.2-29772.tar.gz"
MY_P=${TARBALL/.tar.gz/}

src_install() {
	vmware_src_install

	dodir ${dir}/sbin
	keepdir ${dir}/sbin

	# if we have X, install the default config
	if use X ; then
		insinto /etc/X11
		doins "${FILESDIR}/xorg.conf"
	fi
}