mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
system/open-vm-tools: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1f6344f12c
commit
570ce2839d
3 changed files with 29 additions and 5 deletions
|
@ -6,3 +6,9 @@ and seamless user interactions with, guests. It includes kernel
|
|||
modules for enhancing the performance of virtual machines
|
||||
running Linux or other VMware supported Unix like guest
|
||||
operating systems.
|
||||
|
||||
Multiple options in SlackBuild :
|
||||
|
||||
VGAUTH=no # Default option
|
||||
VGAUTH=yes # xerces-c is required
|
||||
VGAUTH=xmlsec # xmlsec is required
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# Slackware build script for open-vm-tools
|
||||
|
||||
# Copyright 2017 Jeremy HOCDE
|
||||
# Copyright 2018 Alexander VERBOVETSKY
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,8 +24,8 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=open-vm-tools
|
||||
VERSION=${VERSION:-10.2.0_7253323}
|
||||
BUILD=${BUILD:-1}
|
||||
VERSION=${VERSION:-10.2.0_7253323} # Remember to change VERSION - to _ !!!
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
SRCVER=$(echo $VERSION | tr _ -)
|
||||
|
@ -56,6 +57,23 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
VGAUTH=${VGAUTH:-no}
|
||||
case "$VGAUTH" in
|
||||
no)
|
||||
VGAUTH_OPTS="--disable-vgauth"
|
||||
;;
|
||||
yes)
|
||||
VGAUTH_OPTS=""
|
||||
;;
|
||||
xmlsec)
|
||||
VGAUTH_OPTS="--enable-xmlsec1"
|
||||
;;
|
||||
*)
|
||||
echo "eRRoR with VGAUTH parameter"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
|
@ -83,8 +101,8 @@ LIBS=-lcrypt \
|
|||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--without-pam \
|
||||
--without-xerces \
|
||||
--without-x \
|
||||
$VGAUTH_OPTS \
|
||||
--build=$ARCH-slackware-linux
|
||||
|
||||
make
|
||||
|
|
|
@ -3,8 +3,8 @@ VERSION="10.2.0_7253323"
|
|||
HOMEPAGE="https://github.com/vmware/open-vm-tools"
|
||||
DOWNLOAD="https://github.com/vmware/open-vm-tools/releases/download/stable-10.2.0/open-vm-tools-10.2.0-7253323.tar.gz"
|
||||
MD5SUM="9256c2402640ad19eb79cf49635e01b5"
|
||||
DOWNLOAD_x86_64="https://github.com/vmware/open-vm-tools/releases/download/stable-10.2.0/open-vm-tools-10.2.0-7253323.tar.gz"
|
||||
MD5SUM_x86_64="9256c2402640ad19eb79cf49635e01b5"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="libmspack libdnet"
|
||||
MAINTAINER="JEREMY HOCDE"
|
||||
EMAIL="jeremyhocde@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue