wok-current view open-vm-tools/receipt @ rev 21463
updated mobile-broadband-provider-info and mobile-broadband-provider-info-dev (20120614 -> 20190116)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 30 14:12:14 2019 +0100 (2019-04-30) |
parents | de171be4a7e8 |
children | 5ea0ce1cecc0 |
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"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd open-vm-tools
24 sed -i -e "s/-Werror//" configure.ac
25 autoreconf -i
26 ./configure \
27 --without-kernel-modules \
28 --without-pam \
29 --without-x \
30 --without-icu \
31 --without-gtk2 \
32 --without-gtkmm \
33 --without-xmlsecurity \
34 --without-xerces \
35 $CONFIGURE_ARGS &&
36 make && make DESTDIR=$install install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 mkdir -p $fs/usr/share
44 mkdir -p $fs/sbin
45 mkdir -p $fs/etc
46 mkdir -p $fs/lib
47 mkdir -p $fs/include
48 mkdir -p $fs/etc/init.d
50 cp $stuff/vmtoolsd $fs/etc/init.d
51 chmod 755 $fs/etc/init.d
53 cp -a $install/etc/vmware-tools $fs/etc
55 # Replace with slitaz customized default network script
56 cp $stuff/network $fs/etc/vmware-tools/scripts/vmware/network
57 chmod 755 $fs/etc/vmware-tools/scripts/vmware/network
59 cp -a $install/usr/include $fs/usr
60 cp -a $install/usr/bin $fs/usr
61 cp -a $install/usr/sbin $fs/usr
62 ln -s ../usr/sbin/mount.vmhgfs $fs/sbin/mount.vmhgfs
64 cp -a $install/usr/share/open-vm-tools $fs/usr/share
66 cp -a $install/usr/lib/*.so* $fs/usr/lib
67 cp -a $install/usr/lib/*.a $fs/usr/lib
68 cp -a $install/usr/lib/open-vm-tools $fs/usr/lib
69 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
70 }