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

wxWidgets: up(3.0.2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Oct 24 04:19:35 2015 +0300 (2015-10-24)
parents d3cf4f4dc1a4
children de171be4a7e8
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 glib-dev libffi-dev libdnet-dev libmspack-dev slitaz-toolchain"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd open-vm-tools
23 sed -i -e "s/-Werror//" configure.ac
24 autoreconf -i
25 ./configure \
26 --without-kernel-modules \
27 --without-pam \
28 --without-x \
29 --without-icu \
30 --without-gtk2 \
31 --without-gtkmm \
32 --without-xmlsecurity \
33 --without-xerces \
34 $CONFIGURE_ARGS &&
35 make && make DESTDIR=$install install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 mkdir -p $fs/usr/share
43 mkdir -p $fs/sbin
44 mkdir -p $fs/etc
45 mkdir -p $fs/lib
46 mkdir -p $fs/include
47 mkdir -p $fs/etc/init.d
49 cp $stuff/vmtoolsd $fs/etc/init.d
50 chmod 755 $fs/etc/init.d
52 cp -a $install/etc/vmware-tools $fs/etc
54 # Replace with slitaz customized default network script
55 cp $stuff/network $fs/etc/vmware-tools/scripts/vmware/network
56 chmod 755 $fs/etc/vmware-tools/scripts/vmware/network
58 cp -a $install/sbin $fs/sbin
60 cp -a $install/usr/include $fs/usr
61 cp -a $install/usr/bin $fs/usr
62 cp -a $install/usr/sbin $fs/usr
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 }