2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: VMWare Araçları
|
2017-06-13 17:43:37 +02:00
|
|
|
|
# URL: http://open-vm-tools.sf.net/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: libdnet glib libmspack
|
2017-06-13 17:43:37 +02:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|