42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
|
# Description: VMWare Araçları
|
|||
|
# URL: http://open-vm-tools.sf.net/
|
|||
|
# Packager: milisarge
|
|||
|
# Depends on: libdnet glib libmspack
|
|||
|
|
|||
|
name=open-vm-tools
|
|||
|
version=10.1.5
|
|||
|
release=1
|
|||
|
source=(https://github.com/vmware/open-vm-tools/archive/stable-${version/_/-}.tar.gz
|
|||
|
vmtools.rc
|
|||
|
tools.conf)
|
|||
|
|
|||
|
build(){
|
|||
|
cd $name-stable-$version
|
|||
|
cd $name
|
|||
|
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
|
|||
|
}
|