diff options
Diffstat (limited to 'app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.10.14.874563.ebuild')
-rw-r--r-- | app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.10.14.874563.ebuild | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.10.14.874563.ebuild b/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.10.14.874563.ebuild deleted file mode 100644 index d64fc7a..0000000 --- a/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.10.14.874563.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2012.05.21.724730.ebuild,v 1.1 2012/06/02 14:45:23 vadimk Exp $ - -EAPI="4" - -inherit eutils linux-info linux-mod versionator - -MY_PN="${PN/-kmod}" -MY_PV="$(replace_version_separator 3 '-')" -MY_P="${MY_PN}-${MY_PV}" - -DESCRIPTION="Opensourced tools for VMware guests" -HOMEPAGE="http://open-vm-tools.sourceforge.net/" -SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="" - -DEPEND="${RDEPEND} - virtual/linux-sources - " - -CONFIG_CHECK=" - ~DRM_VMWGFX - ~VMWARE_BALLOON - ~VMWARE_PVSCSI - ~VMXNET3 - " - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - linux-mod_pkg_setup - - VMWARE_MOD_DIR="modules/linux" - VMWARE_MODULE_LIST="vmblock vmci vmhgfs vmsync vmxnet vsock" - - MODULE_NAMES="" - BUILD_TARGETS="auto-build HEADER_DIR=${KERNEL_DIR}/include BUILD_DIR=${KV_OUT_DIR} OVT_SOURCE_DIR=${S}" - - for mod in ${VMWARE_MODULE_LIST}; - do - if [ "${mod}" == "vmxnet" ]; - then - MODTARGET="net" - else - MODTARGET="openvmtools" - fi - MODULE_NAMES="${MODULE_NAMES} ${mod}(${MODTARGET}:${S}/${VMWARE_MOD_DIR}/${mod})" - done -} - -src_prepare() { - sed -i.bak -e '/\smake\s/s/make/$(MAKE)/g' modules/linux/{vmblock,vmci,vmhgfs,vmsync,vmxnet,vsock}/Makefile\ - || die "Sed failed." - epatch "${FILESDIR}/frozen.patch" -} - -src_configure() { - : # do nothing at all -} - -src_install() { - linux-mod_src_install - - local udevrules="${T}/60-vmware.rules" - cat > "${udevrules}" <<-EOF - KERNEL=="vsock", GROUP="vmware", MODE=660 - EOF - insinto /lib/udev/rules.d/ - doins "${udevrules}" -} |