diff options
author | 2015-08-12 05:01:11 +0000 | |
---|---|---|
committer | 2015-08-12 05:01:11 +0000 | |
commit | bbbde76aaaad3071f2aaccc848c256f4e824dabe (patch) | |
tree | 0696661eeab6a7290be710ba588fb38bd3c69dcc /app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild | |
parent | Merge branch 'stepping-stone-feature/systemd' (diff) | |
parent | Added support for the installation of the ovftool. (diff) | |
download | vmware-bbbde76aaaad3071f2aaccc848c256f4e824dabe.tar.gz vmware-bbbde76aaaad3071f2aaccc848c256f4e824dabe.tar.bz2 vmware-bbbde76aaaad3071f2aaccc848c256f4e824dabe.zip |
Merge branch 'feature/ovftool' of git://github.com/stepping-stone/vmware into stepping-stone-feature/ovftool
Diffstat (limited to 'app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild')
-rw-r--r-- | app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild b/app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild index 1dff576..c115c63 100644 --- a/app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild +++ b/app-emulation/vmware-player/vmware-player-7.1.2.2780323.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="vmware GPL-2" SLOT="0" KEYWORDS="-* ~amd64" -IUSE="cups doc +vmware-tools" +IUSE="cups doc ovftool +vmware-tools" RESTRICT="strip" # vmware-workstation should not use virtual/libc as this is a @@ -93,10 +93,12 @@ src_unpack() { vmware-usbarbitrator \ vmware-network-editor \ vmware-player-setup - #vmware-ovftool do vmware-bundle_extract-bundle-component "${bundle}" "${component}" "${S}" done + + use ovftool && \ + vmware-bundle_extract-bundle-component "${bundle}" vmware-ovftool } src_prepare() { @@ -154,6 +156,18 @@ src_install() { exeinto "${VM_INSTALL_DIR}"/lib/vmware/setup doexe vmware-config + # install ovftool + if use ovftool; then + cd "${S}" + + insinto "${VM_INSTALL_DIR}"/lib/vmware-ovftool + doins -r vmware-ovftool/* + + chmod 0755 "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/{ovftool,ovftool.bin} + dosym "${D}${VM_INSTALL_DIR}"/lib/vmware-ovftool/ovftool "${VM_INSTALL_DIR}"/bin/ovftool + fi + + # create symlinks for the various tools local tool ; for tool in thnuclnt vmplayer{,-daemon} \ vmware-{acetool,unity-helper,modconfig{,-console},gksu,fuseUI} ; do |