wok view linux64-open-vm-tools-kernel/receipt @ rev 18393

Add: WIP open-vm-tools kernel modules
author Nathan Neulinger <nneul@neulinger.org>
date Fri Sep 18 23:51:57 2015 +0000 (2015-09-18)
parents a4a380229dc9
children 9df1510d5221
line source
1 # SliTaz package receipt.
3 PACKAGE="linux64-open-vm-tools-kernel"
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 PROVIDE="open-vm-tools-kernel:linux64"
17 DEPENDS="shutdown glib libffi libmspack open-vm-tools linux64"
18 BUILD_DEPENDS="autoconf automake libtool linux-source linux64-module-headers glib-dev libffi-dev libdnet-dev libmspack-dev slitaz-toolchain"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 [ -d /lib/modules/$(uname -r)/source ] || get-linux-source
26 cd open-vm-tools
27 sed -i -e "s/-Werror//" configure.ac
28 autoreconf -i
29 ./configure \
30 --without-pam \
31 --without-x \
32 --without-icu \
33 --without-gtk2 \
34 --without-gtkmm \
35 --without-xmlsecurity \
36 --without-xerces \
37 $CONFIGURE_ARGS &&
38 make && make DESTDIR=$install install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 EXTRAVERSION=_${kvers}
46 mkdir -p $fs/lib
47 cp -a $install/lib/modules $fs/lib
48 }
50 post_install()
51 {
52 echo -n "Processing post-install commands..."
53 chroot "$1/" depmod -a
54 status
55 }