/[gentoo-x86]/app-emulation/vmware-tools/vmware-tools-9.6.1.1379776.ebuild
Gentoo

Contents of /app-emulation/vmware-tools/vmware-tools-9.6.1.1379776.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Nov 6 23:14:49 2013 UTC (6 years, 2 months ago) by dilfridge
Branch: MAIN
CVS Tags: HEAD
Version bump

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 inherit versionator vmware-bundle
6
7 MY_PV="$(replace_version_separator 3 - $PV)"
8 BASE_URI="http://softwareupdate.vmware.com/cds/vmw-desktop/player/6.0.$(get_version_component_range 3)/$(get_version_component_range 4)/linux/packages/"
9
10 DESCRIPTION="VMware Tools for guest operating systems"
11 HOMEPAGE="http://www.vmware.com/products/player/"
12
13 LICENSE="vmware"
14 SLOT="0"
15 KEYWORDS="-* ~amd64 ~x86"
16 RESTRICT="mirror"
17 IUSE=""
18
19 DEPEND=""
20 RDEPEND=""
21
22 IUSE_VMWARE_GUEST="freebsd linux netware solaris windows winPre2k"
23
24 VM_INSTALL_DIR="/opt/vmware"
25
26 for guest in ${IUSE_VMWARE_GUEST} ; do
27 SRC_URI+=" vmware_guest_${guest}? (
28 amd64? ( ${BASE_URI}vmware-tools-${guest}-${MY_PV}.x86_64.component.tar )
29 x86? ( ${BASE_URI}vmware-tools-${guest}-${MY_PV}.i386.component.tar )
30 )"
31 IUSE+=" vmware_guest_${guest}"
32 done ; unset guest
33
34 src_unpack() {
35 local arch
36 if use x86 ; then arch='i386'
37 elif use amd64 ; then arch='x86_64'
38 fi
39 local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
40 if use "vmware_guest_${guest}" ; then
41 local component="vmware-tools-${guest}-${MY_PV}.${arch}.component"
42 unpack "${component}.tar"
43 vmware-bundle_extract-component "${component}"
44 fi
45 done
46 }
47
48 src_install() {
49 insinto "${VM_INSTALL_DIR}"/lib/vmware/isoimages
50 local guest ; for guest in ${IUSE_VMWARE_GUEST} ; do
51 if use "vmware_guest_${guest}" ; then
52 doins "${guest}".iso{,.sig}
53 fi
54 done
55 }

  ViewVC Help
Powered by ViewVC 1.1.20