# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-modules/vmware-modules-1.0.0.22.ebuild,v 1.3 2008/11/09 20:04:05 ikelos Exp $ KEYWORDS="~amd64 ~x86" VMWARE_VER="VME_V604" # THIS VALUE IS JUST A PLACE HOLDER inherit eutils vmware-mod IUSE="" VMWARE_MODULE_LIST="vmmon vmnet vmblock" SRC_URI="x86? ( mirror://vmware/software/vmplayer/VMware-player-2.0.5-109488.i386.tar.gz ) amd64? ( mirror://vmware/software/vmplayer/VMware-player-2.0.5-109488.x86_64.tar.gz )" VMWARE_MOD_DIR="vmware-player-distrib/lib/modules/source/" kernel_check() { get_version ebegin "Checking kernel options" if kernel_is 2 6 ; then if [ $KV_PATCH -gt 24 ]; then $(linux_chkconfig_present UNUSED_SYMBOLS) && einfo "[UNUSED_SYMBOLS] is enabled in your kernel" || ewarn "[UNUSED_SYMBOLS] is not enabled in the kernel" fi fi eend $? } src_unpack() { kernel_check vmware-mod_src_unpack # cd "${S}/vmblock-only" # epatch "${FILESDIR}/patches/vmblock/010_all_kernel-2.6.25.patch" cd "${S}" epatch "${FILESDIR}/${PV}-makefile-kernel-dir.patch" #epatch "${FILESDIR}/${PV}-vmmon-2.6.26.patch" #epatch "${FILESDIR}/${PV}-vmnet-2.6.26.patch" #epatch "${FILESDIR}/${PV}-vmblock-2.6.26-1.patch" #epatch "${FILESDIR}/${PV}-vmblock-2.6.26-2.patch" }