summaryrefslogtreecommitdiff
path: root/open-vm-tools/Pkgfile
diff options
context:
space:
mode:
authorAlan Mizrahi <alan+crux@mizrahi.com.ve>2015-02-16 11:55:20 +0900
committerAlan Mizrahi <alan+crux@mizrahi.com.ve>2015-02-16 11:55:20 +0900
commit33f9835356454495635388296140ee9af2c1927e (patch)
treef5d0eafe4a9025591046494b6d6f8ff355231dc1 /open-vm-tools/Pkgfile
parentd3c7a4392e2b4b13e1ac2e158e9b248be76f7189 (diff)
downloadcontrib-33f9835356454495635388296140ee9af2c1927e.tar.gz
contrib-33f9835356454495635388296140ee9af2c1927e.tar.xz
open-vm-tools: updated to 9.4.6-1770165
- fixed build with current toolchain, but kernel modules are no longer built - updated init script
Diffstat (limited to 'open-vm-tools/Pkgfile')
-rw-r--r--open-vm-tools/Pkgfile16
1 files changed, 9 insertions, 7 deletions
diff --git a/open-vm-tools/Pkgfile b/open-vm-tools/Pkgfile
index 44eb81d22..284e9f45a 100644
--- a/open-vm-tools/Pkgfile
+++ b/open-vm-tools/Pkgfile
@@ -4,7 +4,7 @@
# Depends: libdnet glib
name=open-vm-tools
-version=9.4.0-1280544
+version=9.4.6-1770165
release=1
source=(
http://downloads.sourceforge.net/project/$name/$name/stable-9.4.x/$name-$version.tar.gz
@@ -15,6 +15,10 @@ tools.conf
build(){
cd $name-$version
+ sed -ie 's|-Werror||g' configure.ac
+ autoreconf -iv
+
+ CUSTOM_PROCPS_NAME=procps \
./configure \
--prefix=/usr \
--disable-static \
@@ -23,17 +27,15 @@ build(){
--without-gtk2 \
--without-gtkmm \
--without-icu \
- --without-pam
+ --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/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
+ rm -f $PKG/usr/lib/open-vm-tools/plugins/common/*.la
- install $SRC/tools.conf $PKG/etc/vmware-tools/tools.conf
+ install -m644 $SRC/tools.conf $PKG/etc/vmware-tools/tools.conf
}

Generated by cgit