blob: 284e9f45aaf7beb1a2028ec25fe67740035a239e (
plain)
1 # Description: VMWare Tools
2 # URL: http://open-vm-tools.sf.net/
3 # Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
4 # Depends: libdnet glib
5
6 name=open-vm-tools
7 version=9.4.6-1770165
8 release=1
9 source=(
10 http://downloads.sourceforge.net/project/$name/$name/stable-9.4.x/$name-$version.tar.gz
11 vmtools.rc
12 tools.conf
13 )
14
15 build(){
16 cd $name-$version
17
18 sed -ie 's|-Werror||g' configure.ac
19 autoreconf -iv
20
21 CUSTOM_PROCPS_NAME=procps \
22 ./configure \
23 --prefix=/usr \
24 --disable-static \
25 --without-root-privileges \
26 --without-x \
27 --without-gtk2 \
28 --without-gtkmm \
29 --without-icu \
30 --without-pam \
31 --without-kernel-modules
32 make
33 make DESTDIR=$PKG install
34 mv $PKG/usr/sbin/mount.vmhgfs $PKG/sbin/mount.vmhgfs
35 install -D $SRC/vmtools.rc $PKG/etc/rc.d/vmtools
36
37 rm -rf $PKG/usr/{etc,sbin,share} $PKG/etc/vmware-tools/scripts/vmware/network
38 rm -f $PKG/usr/lib/open-vm-tools/plugins/common/*.la
39
40 install -m644 $SRC/tools.conf $PKG/etc/vmware-tools/tools.conf
41 }
|