talimat 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # Tanım: VMWare Araçları
  2. # URL: http://open-vm-tools.sf.net/
  3. # Paketçi: milisarge
  4. # Gerekler: chrpath libdnet glib libmspack cunit xorg-libx11 xorg-libxext xorg-libxinerama xorg-libxi xorg-libxrender xorg-libxrandr xorg-libxtst gdk-pixbuf gtk3 gtkmm3
  5. # Grup: sistem
  6. isim=open-vm-tools
  7. surum=10.2.0
  8. devir=1
  9. kaynak=(https://github.com/vmware/open-vm-tools/archive/stable-${surum/_/-}.tar.gz::open-vm-tools-$surum.tar.gz
  10. 0001-Set-X11-as-the-backend-for-gtk3-of-open-vm-tools.patch)
  11. derle(){
  12. cd "$SRC/$isim-"*"/open-vm-tools"
  13. patch -Np2 < "${SRC}"/0001-Set-X11-as-the-backend-for-gtk3-of-open-vm-tools.patch
  14. cd "$SRC/$isim-"*"/open-vm-tools"
  15. autoreconf -vi
  16. sh ./configure --prefix=/usr \
  17. --sbindir=/usr/bin \
  18. --sysconfdir=/etc \
  19. --with-udev-rules-dir=/usr/lib/udev/rules.d \
  20. --without-xmlsecurity \
  21. --without-kernel-modules
  22. make
  23. cd "$SRC/$isim-"*"/open-vm-tools"
  24. make install DESTDIR="$PKG"
  25. chmod 7755 "$PKG"/usr/bin/vmware-user-suid-wrapper
  26. # install vmware-xdg-detect-de
  27. install -D -m 0755 scripts/common/vmware-xdg-detect-de "$PKG"/usr/bin/vmware-xdg-detect-de
  28. # We don't want a symlink in /sbin
  29. rm "$PKG"/sbin/mount.vmhgfs
  30. rmdir "$PKG"/sbin
  31. }