wok-current annotate open-vm-tools/receipt @ rev 18400
open-vm-tools: missing deps
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sat Sep 19 03:36:38 2015 +0000 (2015-09-19) |
parents | a4a380229dc9 |
children | d3cf4f4dc1a4 |
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@18400 | 15 DEPENDS="shutdown glib libffi libmspack procps" |
nneul@18400 | 16 BUILD_DEPENDS="autoconf automake libtool linux-source procps glib-dev libffi-dev libdnet-dev libmspack-dev slitaz-toolchain" |
nneul@18391 | 17 |
nneul@18391 | 18 |
nneul@18391 | 19 # Rules to configure and make the package. |
nneul@18391 | 20 compile_rules() |
nneul@18391 | 21 { |
nneul@18391 | 22 cd open-vm-tools |
nneul@18391 | 23 sed -i -e "s/-Werror//" configure.ac |
nneul@18391 | 24 autoreconf -i |
nneul@18391 | 25 ./configure \ |
nneul@18392 | 26 --without-kernel-modules \ |
nneul@18391 | 27 --without-pam \ |
nneul@18391 | 28 --without-x \ |
nneul@18391 | 29 --without-icu \ |
nneul@18391 | 30 --without-gtk2 \ |
nneul@18391 | 31 --without-gtkmm \ |
nneul@18391 | 32 --without-xmlsecurity \ |
nneul@18391 | 33 --without-xerces \ |
nneul@18391 | 34 $CONFIGURE_ARGS && |
nneul@18391 | 35 make && make DESTDIR=$install install |
nneul@18391 | 36 } |
nneul@18391 | 37 |
nneul@18391 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18391 | 39 genpkg_rules() |
nneul@18391 | 40 { |
nneul@18391 | 41 mkdir -p $fs/usr/lib |
nneul@18391 | 42 mkdir -p $fs/usr/share |
nneul@18391 | 43 mkdir -p $fs/sbin |
nneul@18391 | 44 mkdir -p $fs/etc |
nneul@18391 | 45 mkdir -p $fs/lib |
nneul@18391 | 46 mkdir -p $fs/include |
nneul@18391 | 47 mkdir -p $fs/etc/init.d |
nneul@18391 | 48 |
nneul@18391 | 49 cp $stuff/vmtoolsd $fs/etc/init.d |
nneul@18391 | 50 chmod 755 $fs/etc/init.d |
nneul@18391 | 51 |
nneul@18391 | 52 cp -a $install/etc/vmware-tools $fs/etc |
nneul@18391 | 53 |
nneul@18391 | 54 # Replace with slitaz customized default network script |
nneul@18391 | 55 cp $stuff/network $fs/etc/vmware-tools/scripts/vmware/network |
nneul@18391 | 56 chmod 755 $fs/etc/vmware-tools/scripts/vmware/network |
nneul@18391 | 57 |
nneul@18391 | 58 cp -a $install/sbin $fs/sbin |
nneul@18391 | 59 |
nneul@18391 | 60 cp -a $install/usr/include $fs/usr |
nneul@18391 | 61 cp -a $install/usr/bin $fs/usr |
nneul@18391 | 62 cp -a $install/usr/sbin $fs/usr |
nneul@18391 | 63 |
nneul@18391 | 64 cp -a $install/usr/share/open-vm-tools $fs/usr/share |
nneul@18391 | 65 |
nneul@18391 | 66 cp -a $install/usr/lib/*.so* $fs/usr/lib |
nneul@18391 | 67 cp -a $install/usr/lib/*.a $fs/usr/lib |
nneul@18391 | 68 cp -a $install/usr/lib/open-vm-tools $fs/usr/lib |
nneul@18391 | 69 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
nneul@18391 | 70 } |