/[gentoo-x86]/app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2013.09.16.1328054.ebuild
Gentoo

Contents of /app-emulation/open-vm-tools-kmod/open-vm-tools-kmod-2013.09.16.1328054.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Oct 22 22:21:05 2013 UTC (9 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -2 lines
vmhgfs does not compile with CONFIG_UIDGID_STRICT_TYPE_CHECKS, bug 474636.

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

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/open-vm-tools-kmod/open-vm-tools-kmod-2013.09.16.1328054.ebuild,v 1.4 2013/10/21 22:19:08 floppym Exp $
4
5 EAPI="5"
6
7 inherit eutils linux-mod versionator udev
8
9 MY_PN="${PN/-kmod}"
10 MY_PV="$(replace_version_separator 3 '-')"
11 MY_P="${MY_PN}-${MY_PV}"
12
13 DESCRIPTION="Opensourced tools for VMware guests"
14 HOMEPAGE="http://open-vm-tools.sourceforge.net/"
15 SRC_URI="mirror://sourceforge/${MY_PN}/${MY_P}.tar.gz"
16
17 LICENSE="LGPL-2"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86"
20 IUSE=""
21
22 S="${WORKDIR}/${MY_P}"
23
24 pkg_setup() {
25 CONFIG_CHECK="~DRM_VMWGFX ~VMWARE_BALLOON ~VMWARE_PVSCSI ~VMXNET3
26 !UIDGID_STRICT_TYPE_CHECKS"
27
28 # See logic in configure.ac.
29 local MODULES="vmxnet vmhgfs"
30
31 if kernel_is -lt 3 9; then
32 MODULES+=" vmci vsock"
33 else
34 CONFIG_CHECK+=" VMWARE_VMCI ~VMWARE_VMCI_VSOCKETS"
35 fi
36
37 if kernel_is -lt 3; then
38 MODULES+=" vmblock vmsync"
39 else
40 CONFIG_CHECK+=" ~FUSE_FS"
41 fi
42
43 local mod
44 for mod in ${MODULES}; do
45 MODULE_NAMES+=" ${mod}(ovt:modules/linux/${mod})"
46 done
47
48 linux-mod_pkg_setup
49 }
50
51 src_prepare() {
52 epatch "${FILESDIR}/vmhgfs-linux-3.11.patch"
53 epatch_user
54 }
55
56 src_configure() {
57 BUILD_TARGETS="auto-build"
58 export OVT_SOURCE_DIR="${S}"
59 export LINUXINCLUDE="${KV_OUT_DIR}/include"
60 }
61
62 src_install() {
63 linux-mod_src_install
64 udev_dorules "${FILESDIR}/60-vmware.rules"
65 }

  ViewVC Help
Powered by ViewVC 1.1.20