# $Id$
EAPI=6
+MODULES_OPTIONAL_USE="modules"
-inherit autotools flag-o-matic pam systemd toolchain-funcs user
+inherit autotools linux-mod pam systemd toolchain-funcs user
DESCRIPTION="Opensourced tools for VMware guests"
HOMEPAGE="https://github.com/vmware/open-vm-tools"
--disable-tests
--with-procps
--with-dnet
- --without-kernel-modules
$(use_enable doc docs)
$(use_enable grabbitmqproxy)
$(use_enable vgauth)
$(use_with X gtk3)
$(use_with X gtkmm3)
$(use_with X x)
+
+ $(use_with modules kernel-modules)
+ --without-root-privileges
+ --with-kernel-release="${KV_FULL}"
)
econf "${myeconfargs[@]}"
find . -name Makefile -exec sed -i -e 's/-Werror//g' '{}' + || die "sed out Werror failed"
}
+src_compile() {
+ use modules && set_arch_to_kernel
+ default
+}
+
src_install() {
default
prune_libtool_files --modules
pkg_postinst() {
enewgroup vmware
+ linux-mod_pkg_postinst
}