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