2020-05-10 11:33:10 -05:00
# Description: A set of services and modules that enable several features in VMware products for better management of, and seamless user interactions with, guests
# URL: https://github.com/vmware/open-vm-tools
# Maintainer: Matt Housh, jaeger at crux dot ninja
2020-08-15 15:47:03 -05:00
# Depends on: libmspack libdnet glib rpcsvc-proto
2011-08-11 17:08:12 +09:00
name=open-vm-tools
2020-10-24 12:33:10 -05:00
version=11.2.0-16938113
2020-08-19 19:55:42 -05:00
release=1
2020-05-10 11:33:10 -05:00
source=(https://github.com/vmware/$name/releases/download/stable-${version%-*}/$name-$version.tar.gz \
2020-08-19 19:55:42 -05:00
vmtoolsd)
2011-08-11 17:08:12 +09:00
2020-05-10 11:33:10 -05:00
build() {
2011-08-11 17:08:12 +09:00
cd $name-$version
2020-05-10 11:33:10 -05:00
./configure --prefix=/usr \
2011-08-11 17:08:12 +09:00
--without-icu \
2020-05-10 11:33:10 -05:00
--without-x \
--without-xerces
2011-08-11 17:08:12 +09:00
make
make DESTDIR=$PKG install
2020-05-10 11:33:10 -05:00
install -o root -g root -m 0755 -D $SRC/vmtoolsd \
$PKG/etc/rc.d/vmtoolsd
2020-05-24 10:56:48 -05:00
# fix mount.vmhgfs symlink
ln -sf /usr/sbin/mount.vmhgfs $PKG/sbin/mount.vmhgfs
sed -i -e '/pam_unix_/d' $PKG/etc/pam.d/vmtoolsd
2011-08-11 17:08:12 +09:00
}