diff options
author | Alan Mizrahi <alan+crux@mizrahi.com.ve> | 2011-08-11 17:08:12 +0900 |
---|---|---|
committer | Alan Mizrahi <alan+crux@mizrahi.com.ve> | 2011-08-11 17:08:12 +0900 |
commit | c63df53c4e4b8a845c6a82d706fc5718dcdd8428 (patch) | |
tree | 74bd4101072e5bd4d6ac3fef5b35bbbce1706cd3 /open-vm-tools/Pkgfile | |
parent | 62221278949bcd2d257d821df458b533d46888fb (diff) | |
download | contrib-c63df53c4e4b8a845c6a82d706fc5718dcdd8428.tar.gz contrib-c63df53c4e4b8a845c6a82d706fc5718dcdd8428.tar.xz |
open-vm-tools: Initial commit. Version 2011.04.25-402641
Diffstat (limited to 'open-vm-tools/Pkgfile')
-rw-r--r-- | open-vm-tools/Pkgfile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/open-vm-tools/Pkgfile b/open-vm-tools/Pkgfile new file mode 100644 index 000000000..2ed6f4364 --- /dev/null +++ b/open-vm-tools/Pkgfile @@ -0,0 +1,43 @@ +# 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=2011.04.25-402641 +release=1 +source=( \ +http://downloads.sourceforge.net/project/$name/$name/${version%-*}/$name-$version.tar.gz \ +vmtools.rc +tools.conf +hostinfo.patch +) + +build(){ + cd $name-$version + patch -p1 -i $SRC/hostinfo.patch + + ./configure \ + --prefix=/usr \ + --disable-static \ + --without-root-privileges \ + --without-x \ + --without-gtk2 \ + --without-gtkmm \ + --without-icu \ + --without-pam + # --without-procps \ + # --without-dnet \ + 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 +} |