contrib/open-vm-tools/Pkgfile
Alan Mizrahi 33f9835356 open-vm-tools: updated to 9.4.6-1770165
- fixed build with current toolchain, but kernel modules are no longer built
- updated init script
2015-02-16 11:55:20 +09:00

42 lines
974 B
Plaintext

# 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
}