wok-6.x annotate open-vm-tools/receipt @ rev 19212

airgeddon: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 14 10:00:11 2016 +0200 (2016-06-14)
parents 57e0698c8842
children a0fe56fb9c41
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 TAGS="vmware kernel"
nneul@18391 7 SHORT_DESC="Open VMware Tools"
nneul@18391 8 MAINTAINER="nobody@slitaz.org"
nneul@18391 9 LICENSE="GPL"
nneul@18391 10 TARBALL="open-vm-tools-$VERSION.tar.gz"
nneul@18391 11 WEB_SITE="https://github.com/vmware/open-vm-tools"
nneul@18391 12 WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL"
nneul@18391 13 HOST_ARCH="i486 x86_64"
nneul@18391 14
nneul@18431 15 DEPENDS="shutdown glib libffi libmspack procps libdnet"
pascal@18954 16 BUILD_DEPENDS="wget cacerts autoconf automake libtool linux-source procps \
pascal@18954 17 glib-dev libffi-dev libdnet-dev libmspack-dev openssl-dev"
nneul@18391 18
nneul@18391 19
nneul@18391 20 # Rules to configure and make the package.
nneul@18391 21 compile_rules()
nneul@18391 22 {
nneul@18391 23 cd open-vm-tools
nneul@18391 24 sed -i -e "s/-Werror//" configure.ac
nneul@18391 25 autoreconf -i
nneul@18391 26 ./configure \
nneul@18392 27 --without-kernel-modules \
nneul@18391 28 --without-pam \
nneul@18391 29 --without-x \
nneul@18391 30 --without-icu \
nneul@18391 31 --without-gtk2 \
nneul@18391 32 --without-gtkmm \
nneul@18391 33 --without-xmlsecurity \
nneul@18391 34 --without-xerces \
nneul@18391 35 $CONFIGURE_ARGS &&
nneul@18391 36 make && make DESTDIR=$install install
nneul@18391 37 }
nneul@18391 38
nneul@18391 39 # Rules to gen a SliTaz package suitable for Tazpkg.
nneul@18391 40 genpkg_rules()
nneul@18391 41 {
nneul@18391 42 mkdir -p $fs/usr/lib
nneul@18391 43 mkdir -p $fs/usr/share
nneul@18391 44 mkdir -p $fs/sbin
nneul@18391 45 mkdir -p $fs/etc
nneul@18391 46 mkdir -p $fs/lib
nneul@18391 47 mkdir -p $fs/include
nneul@18391 48 mkdir -p $fs/etc/init.d
nneul@18391 49
nneul@18391 50 cp $stuff/vmtoolsd $fs/etc/init.d
nneul@18391 51 chmod 755 $fs/etc/init.d
nneul@18391 52
nneul@18391 53 cp -a $install/etc/vmware-tools $fs/etc
nneul@18391 54
nneul@18391 55 # Replace with slitaz customized default network script
nneul@18391 56 cp $stuff/network $fs/etc/vmware-tools/scripts/vmware/network
nneul@18391 57 chmod 755 $fs/etc/vmware-tools/scripts/vmware/network
nneul@18391 58
nneul@18391 59 cp -a $install/sbin $fs/sbin
nneul@18391 60
nneul@18391 61 cp -a $install/usr/include $fs/usr
nneul@18391 62 cp -a $install/usr/bin $fs/usr
nneul@18391 63 cp -a $install/usr/sbin $fs/usr
nneul@18391 64
nneul@18391 65 cp -a $install/usr/share/open-vm-tools $fs/usr/share
nneul@18391 66
nneul@18391 67 cp -a $install/usr/lib/*.so* $fs/usr/lib
nneul@18391 68 cp -a $install/usr/lib/*.a $fs/usr/lib
nneul@18391 69 cp -a $install/usr/lib/open-vm-tools $fs/usr/lib
nneul@18391 70 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
nneul@18391 71 }