wok-6.x view open-vm-tools/receipt @ rev 25144
updated plymouth (0.9.4 -> 0.9.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 14:52:59 2022 +0100 (2022-06-29) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="open-vm-tools"
4 VERSION="10.0.0-3000743"
5 CATEGORY="utilities"
6 TAGS="vmware kernel"
7 SHORT_DESC="Open VMware Tools"
8 MAINTAINER="nobody@slitaz.org"
9 LICENSE="GPL"
10 TARBALL="open-vm-tools-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/vmware/open-vm-tools"
12 WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL"
13 HOST_ARCH="i486 x86_64"
15 DEPENDS="shutdown glib libffi libmspack procps libdnet"
16 BUILD_DEPENDS="wget cacerts autoconf automake libtool linux-source procps \
17 glib-dev libffi-dev libdnet-dev libmspack-dev openssl-dev"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/release.*tar.gz/!d;s|.*/open-vm-tools-\(.*\).tar.*|\1|;q'
23 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd open-vm-tools
30 sed -i -e "s/-Werror//" configure.ac
31 autoreconf -i
32 ./configure \
33 --without-kernel-modules \
34 --without-pam \
35 --without-x \
36 --without-icu \
37 --without-gtk2 \
38 --without-gtkmm \
39 --without-xmlsecurity \
40 --without-xerces \
41 $CONFIGURE_ARGS &&
42 make && make DESTDIR=$install install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
49 mkdir -p $fs/usr/share
50 mkdir -p $fs/sbin
51 mkdir -p $fs/etc
52 mkdir -p $fs/lib
53 mkdir -p $fs/include
54 mkdir -p $fs/etc/init.d
56 cp $stuff/vmtoolsd $fs/etc/init.d
57 chmod 755 $fs/etc/init.d
59 cp -a $install/etc/vmware-tools $fs/etc
61 # Replace with slitaz customized default network script
62 cp $stuff/network $fs/etc/vmware-tools/scripts/vmware/network
63 chmod 755 $fs/etc/vmware-tools/scripts/vmware/network
65 cp -a $install/usr/include $fs/usr
66 cp -a $install/usr/bin $fs/usr
67 cp -a $install/usr/sbin $fs/usr
68 ln -s ../usr/sbin/mount.vmhgfs $fs/sbin/mount.vmhgfs
70 cp -a $install/usr/share/open-vm-tools $fs/usr/share
72 cp -a $install/usr/lib/*.so* $fs/usr/lib
73 cp -a $install/usr/lib/*.a $fs/usr/lib
74 cp -a $install/usr/lib/open-vm-tools $fs/usr/lib
75 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
76 }