2018-02-17 23:59:29 +01:00
|
|
|
|
# Tanım: VMWare Araçları
|
|
|
|
|
# URL: http://open-vm-tools.sf.net/
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: chrpath libdnet glib libmspack cunit xorg-libx11 xorg-libxext xorg-libxinerama xorg-libxi xorg-libxrender xorg-libxrandr xorg-libxtst gdk-pixbuf gtk3 gtkmm3
|
2017-06-13 17:43:37 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=open-vm-tools
|
2018-02-17 23:59:29 +01:00
|
|
|
|
surum=10.2.0
|
2017-10-28 14:10:23 +02:00
|
|
|
|
devir=1
|
2018-02-17 23:59:29 +01:00
|
|
|
|
kaynak=(https://github.com/vmware/open-vm-tools/archive/stable-${surum/_/-}.tar.gz::open-vm-tools-$surum.tar.gz
|
|
|
|
|
0001-Set-X11-as-the-backend-for-gtk3-of-open-vm-tools.patch)
|
2017-06-13 17:43:37 +02:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle(){
|
2018-02-17 23:59:29 +01:00
|
|
|
|
cd "$SRC/$isim-"*"/open-vm-tools"
|
|
|
|
|
patch -Np2 < "${SRC}"/0001-Set-X11-as-the-backend-for-gtk3-of-open-vm-tools.patch
|
|
|
|
|
cd "$SRC/$isim-"*"/open-vm-tools"
|
|
|
|
|
autoreconf -vi
|
|
|
|
|
sh ./configure --prefix=/usr \
|
|
|
|
|
--sbindir=/usr/bin \
|
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--with-udev-rules-dir=/usr/lib/udev/rules.d \
|
|
|
|
|
--without-xmlsecurity \
|
|
|
|
|
--without-kernel-modules
|
2017-06-13 17:43:37 +02:00
|
|
|
|
make
|
2018-02-17 23:59:29 +01:00
|
|
|
|
cd "$SRC/$isim-"*"/open-vm-tools"
|
|
|
|
|
make install DESTDIR="$PKG"
|
|
|
|
|
chmod 7755 "$PKG"/usr/bin/vmware-user-suid-wrapper
|
|
|
|
|
# install vmware-xdg-detect-de
|
|
|
|
|
install -D -m 0755 scripts/common/vmware-xdg-detect-de "$PKG"/usr/bin/vmware-xdg-detect-de
|
|
|
|
|
# We don't want a symlink in /sbin
|
|
|
|
|
rm "$PKG"/sbin/mount.vmhgfs
|
|
|
|
|
rmdir "$PKG"/sbin
|
2017-06-13 17:43:37 +02:00
|
|
|
|
}
|