# Description: VMWare Tools # URL: http://open-vm-tools.sf.net/ # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve # Depends: libdnet name=open-vm-tools version=9.4.0-1280544 release=1 source=( http://downloads.sourceforge.net/project/$name/$name/stable-9.4.x/$name-$version.tar.gz vmtools.rc tools.conf ) build(){ cd $name-$version ./configure \ --prefix=/usr \ --disable-static \ --without-root-privileges \ --without-x \ --without-gtk2 \ --without-gtkmm \ --without-icu \ --without-pam make make DESTDIR=$PKG install mv $PKG/usr/sbin/mount.vmhgfs $PKG/sbin/mount.vmhgfs install -D $SRC/vmtools.rc $PKG/etc/rc.d/vmtools rm -rf $PKG/usr/{etc,sbin,share} $PKG/etc/vmware-tools/scripts/vmware/network # rm -f $PKG/usr/lib/lib{vmtools,hgfs}.{,l}a $PKG/usr/lib/libguestlib.a # This is included in the linux kernel, enable CONFIG_VMXNET3 rm -f $PKG/lib/modules/`uname -r`/kernel/drivers/net/vmxnet.ko && rmdir $PKG/lib/modules/`uname -r`/kernel/drivers/net install $SRC/tools.conf $PKG/etc/vmware-tools/tools.conf }