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

42 lines
1.0 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: VMWare Araçları
2017-06-13 17:43:37 +02:00
# URL: http://open-vm-tools.sf.net/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libdnet glib libmspack
2017-06-13 17:43:37 +02:00
2017-10-28 14:10:23 +02:00
isim=open-vm-tools
surum=10.1.5
devir=1
kaynak=(https://github.com/vmware/open-vm-tools/archive/stable-${version/_/-}.tar.gz
2017-06-13 17:43:37 +02:00
vmtools.rc
tools.conf)
2017-10-27 23:59:41 +02:00
derle(){
2017-10-28 14:10:23 +02:00
cd $isim-stable-$surum
cd $isim
2017-06-13 17:43:37 +02:00
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
}