wok-next annotate open-vm-tools/receipt @ rev 21039

mariadb 10.3.10
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 09 03:18:57 2018 +0200 (2018-11-09)
parents d43bf7aae921
children 366726af530d
rev   line source
nneul@18391 1 # SliTaz package receipt.
nneul@18391 2
nneul@18391 3 PACKAGE="open-vm-tools"
nneul@18391 4 VERSION="10.0.0-3000743"
nneul@18391 5 CATEGORY="utilities"
nneul@18391 6 SHORT_DESC="Open VMware Tools"
al@21020 7 MAINTAINER="devel@slitaz.org"
nneul@18391 8 LICENSE="GPL"
al@21020 9 WEB_SITE="https://github.com/vmware/open-vm-tools"
al@21020 10
nneul@18391 11 TARBALL="open-vm-tools-$VERSION.tar.gz"
nneul@18391 12 WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL"
nneul@18391 13
al@20513 14 BUILD_DEPENDS="autoconf automake libtool linux-source procps \
pascal@18954 15 glib-dev libffi-dev libdnet-dev libmspack-dev openssl-dev"
nneul@18391 16
al@21020 17 compile_rules() {
nneul@18391 18 cd open-vm-tools
nneul@18391 19 sed -i -e "s/-Werror//" configure.ac
al@21020 20
nneul@18391 21 autoreconf -i
al@21020 22 ./configure \
nneul@18392 23 --without-kernel-modules \
nneul@18391 24 --without-pam \
nneul@18391 25 --without-x \
nneul@18391 26 --without-icu \
nneul@18391 27 --without-gtk2 \
nneul@18391 28 --without-gtkmm \
nneul@18391 29 --without-xmlsecurity \
nneul@18391 30 --without-xerces \
al@21020 31 $CONFIGURE_ARGS &&
al@21020 32 make &&
al@21020 33 make DESTDIR=$install install
nneul@18391 34 }
nneul@18391 35
al@21020 36 genpkg_rules() {
nneul@18391 37 mkdir -p $fs/usr/lib
nneul@18391 38 mkdir -p $fs/usr/share
nneul@18391 39 mkdir -p $fs/sbin
nneul@18391 40 mkdir -p $fs/etc
nneul@18391 41 mkdir -p $fs/lib
nneul@18391 42 mkdir -p $fs/include
nneul@18391 43 mkdir -p $fs/etc/init.d
nneul@18391 44
nneul@18391 45 cp $stuff/vmtoolsd $fs/etc/init.d
nneul@18391 46 chmod 755 $fs/etc/init.d
nneul@18391 47
nneul@18391 48 cp -a $install/etc/vmware-tools $fs/etc
nneul@18391 49
nneul@18391 50 # Replace with slitaz customized default network script
nneul@18391 51 cp $stuff/network $fs/etc/vmware-tools/scripts/vmware/network
nneul@18391 52 chmod 755 $fs/etc/vmware-tools/scripts/vmware/network
nneul@18391 53
nneul@18391 54 cp -a $install/sbin $fs/sbin
nneul@18391 55
nneul@18391 56 cp -a $install/usr/include $fs/usr
nneul@18391 57 cp -a $install/usr/bin $fs/usr
nneul@18391 58 cp -a $install/usr/sbin $fs/usr
nneul@18391 59
nneul@18391 60 cp -a $install/usr/share/open-vm-tools $fs/usr/share
nneul@18391 61
nneul@18391 62 cp -a $install/usr/lib/*.so* $fs/usr/lib
nneul@18391 63 cp -a $install/usr/lib/*.a $fs/usr/lib
nneul@18391 64 cp -a $install/usr/lib/open-vm-tools $fs/usr/lib
nneul@18391 65 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
al@21020 66 DEPENDS="shutdown glib libffi libmspack procps libdnet"
al@21020 67 TAGS="vmware kernel"
nneul@18391 68 }