wok-next view open-vm-tools/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents 366726af530d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="open-vm-tools"
4 VERSION="11.0.5"
5 CATEGORY="utilities"
6 TAGS="vmware kernel"
7 SHORT_DESC="Open VMware Tools"
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="https://github.com/vmware/open-vm-tools"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/vmware/$PACKAGE/archive/stable-$VERSION.tar.gz"
15 BUILD_DEPENDS="autoconf automake glib-dev libdnet-dev libffi-dev
16 libmspack-dev libtool linux-source openssl-dev procps"
18 compile_rules()
19 {
20 cd open-vm-tools
21 sed -i -e "s/-Werror//" configure.ac
23 autoreconf -i &&
24 ./configure \
25 --without-kernel-modules \
26 --without-pam \
27 --without-x \
28 --without-icu \
29 --without-gtk2 \
30 --without-gtkmm \
31 --without-xmlsecurity \
32 --without-xerces \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$install install
36 }
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 mkdir -p $fs/usr/share
42 mkdir -p $fs/sbin
43 mkdir -p $fs/etc
44 mkdir -p $fs/lib
45 mkdir -p $fs/include
46 mkdir -p $fs/etc/init.d
48 cp $stuff/vmtoolsd $fs/etc/init.d
49 chmod 755 $fs/etc/init.d
51 cp -a $install/etc/vmware-tools $fs/etc
53 # Replace with slitaz customized default network script
54 cp $stuff/network $fs/etc/vmware-tools/scripts/vmware/network
55 chmod 755 $fs/etc/vmware-tools/scripts/vmware/network
57 cp -a $install/sbin $fs/sbin
59 cp -a $install/usr/include $fs/usr
60 cp -a $install/usr/bin $fs/usr
61 cp -a $install/usr/sbin $fs/usr
63 cp -a $install/usr/share/open-vm-tools $fs/usr/share
65 cp -a $install/usr/lib/*.so* $fs/usr/lib
66 cp -a $install/usr/lib/*.a $fs/usr/lib
67 cp -a $install/usr/lib/open-vm-tools $fs/usr/lib
68 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
70 DEPENDS="glib libdnet libffi libmspack procps shutdown"
71 }