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

open-vm-tools: more diag
author Nathan Neulinger <nneul@neulinger.org>
date Sat Sep 19 16:17:57 2015 +0000 (2015-09-19)
parents 29ea5b36b16e
children ddbcf8a468f6
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 procps"
18 BUILD_DEPENDS="uclibc-cross-compiler-x86_64 wget cacerts autoconf automake libtool linux-source linux-module-headers linux64 linux64-module-headers glib-dev libffi-dev libdnet-dev libmspack-dev procps slitaz-toolchain"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 [ -d /lib/modules/${kvers}-slitaz/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 --with-kernel-release=${kvers}-slitaz64 \
38 $CONFIGURE_ARGS
40 ls -al /usr/bin/
41 ls -al /usr/share/uclibc-cross-compiler-x86_64
42 echo $PATH
44 cd modules && make CFLAGS="" KBUILD_VERBOSE=1 && make DESTDIR=$install install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 EXTRAVERSION=_${kvers}
52 mkdir -p $fs/lib
53 cp -a $install/lib/modules $fs/lib
54 }
56 post_install()
57 {
58 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
59 status
60 }