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

mariadb: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 21:42:04 2017 +0100 (2017-10-31)
parents 57e0698c8842
children d43bf7aae921
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/sbin $fs/sbin
61 cp -a $install/usr/include $fs/usr
62 cp -a $install/usr/bin $fs/usr
63 cp -a $install/usr/sbin $fs/usr
65 cp -a $install/usr/share/open-vm-tools $fs/usr/share
67 cp -a $install/usr/lib/*.so* $fs/usr/lib
68 cp -a $install/usr/lib/*.a $fs/usr/lib
69 cp -a $install/usr/lib/open-vm-tools $fs/usr/lib
70 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
71 }