mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
parent
b236b7f73b
commit
4fdddc3094
3 changed files with 62 additions and 0 deletions
5
srcpkgs/open-vm-tools/INSTALL.msg
Normal file
5
srcpkgs/open-vm-tools/INSTALL.msg
Normal file
|
@ -0,0 +1,5 @@
|
|||
Enable the vm-tools daemon by executing:
|
||||
|
||||
ln -s /etc/sv/vmtoolsd /var/service/
|
||||
|
||||
|
6
srcpkgs/open-vm-tools/files/vmtoolsd/run
Normal file
6
srcpkgs/open-vm-tools/files/vmtoolsd/run
Normal file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
exec vmtoolsd
|
||||
|
51
srcpkgs/open-vm-tools/template
Normal file
51
srcpkgs/open-vm-tools/template
Normal file
|
@ -0,0 +1,51 @@
|
|||
pkgname="open-vm-tools"
|
||||
version="10.1.15"
|
||||
revision=1
|
||||
wrksrc="${pkgname}-stable-${version}"
|
||||
build_wrksrc="open-vm-tools"
|
||||
build_style=gnu-configure
|
||||
short_desc="The open source implementation of VMware Tools"
|
||||
maintainer="Carson Page <pagem.carson@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="https://github.com/vmware/open-vm-tools"
|
||||
distfiles="${homepage}/archive/stable-${version}.tar.gz"
|
||||
checksum=2257122f5fee37bf1da1a764708a098b2e8d2847b5ba23dbffe97fd9c4b4214f
|
||||
|
||||
build_options="pam x11"
|
||||
build_options_default="pam x11"
|
||||
|
||||
hostmakedepends="rpcgen automake libtool pkg-config"
|
||||
makedepends="icu-devel libdnet-devel procps-ng-devel libmspack-devel glib-devel
|
||||
fuse-devel $(vopt_if pam pam-devel) $(vopt_if x11 'gtkmm2-devel libXext-devel
|
||||
libX11-devel libXinerama-devel libXi-devel libXrender-devel libXrandr-devel
|
||||
libXtst-devel') libressl-devel libxerces-c-devel xmlsec1-devel"
|
||||
|
||||
configure_args="--sbindir=/usr/bin --with-udev-rules-dir=/usr/lib/udev/rules.d
|
||||
--without-xmlsecurity --without-kernel-modules
|
||||
$(vopt_with x11 x) $(vopt_with pam)"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) broken="Musl requires addl. patches";;
|
||||
"arm"*|"aarch"*) broken=yes;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -vfi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# Get rid of unwanted symlinks
|
||||
rm ${DESTDIR}/sbin/mount.vmhgfs
|
||||
rm -r ${DESTDIR}/sbin
|
||||
# If X11 enabled, copy extra files
|
||||
if [ -n $(vopt_if x11 'y') ]
|
||||
then
|
||||
vmkdir /etc/xdg/autostart
|
||||
vinstall vmware-user-suid-wrapper/vmware-user.desktop 0644 /etc/xdg/autostart/
|
||||
vbin scripts/common/vmware-xdg-detect-de
|
||||
chmod 07755 ${DESTDIR}/usr/bin/vmware-user-suid-wrapper
|
||||
fi
|
||||
# Install service
|
||||
vsv vmtoolsd
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue