# Description: VMWare Tools # URL: http://open-vm-tools.sf.net/ # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve # Depends: libdnet glib name=open-vm-tools version=9.4.6-1770165 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 sed -ie 's|-Werror||g' configure.ac autoreconf -iv CUSTOM_PROCPS_NAME=procps \ ./configure \ --prefix=/usr \ --disable-static \ --without-root-privileges \ --without-x \ --without-gtk2 \ --without-gtkmm \ --without-icu \ --without-pam \ --without-kernel-modules 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/open-vm-tools/plugins/common/*.la install -m644 $SRC/tools.conf $PKG/etc/vmware-tools/tools.conf }