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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Mar 10 12:14:50 2013 UTC (6 years, 10 months ago) by vadimk
Branch: MAIN
CVS Tags: HEAD
vmware desktop 9.0.2 version bump. Bugs 459566, 458228, 460908.

(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key E1DF22D5)

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

  ViewVC Help
Powered by ViewVC 1.1.20