milis/talimatname/genel/o/open-vm-tools/talimat

42 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: VMWare Araçları
# URL: http://open-vm-tools.sf.net/
# Paketçi: milisarge
# Gerekler: libdnet glib libmspack
name=open-vm-tools
version=10.1.5
release=1
source=(https://github.com/vmware/open-vm-tools/archive/stable-${version/_/-}.tar.gz
vmtools.rc
tools.conf)
build(){
cd $name-stable-$version
cd $name
sed -ie 's|-Werror||g' configure.ac
autoreconf -iv
CXXFLAGS+=' -std=gnu++11 -fpermissive '
CFLAGS+=' -fpermissive '
CUSTOM_PROCPS_NAME=procps \
./configure \
--prefix=/usr \
--disable-static \
--without-root-privileges \
--without-x \
--without-gtk2 \
--without-xmlsecurity \
--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/init.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
}