wok view linux64-open-vm-tools-kernel/receipt @ rev 18410
open-vm-tools: more attempts to get linux64 build to work on cooker
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Sat Sep 19 15:44:21 2015 +0000 (2015-09-19) |
parents | d3cf4f4dc1a4 |
children | 0554d00baf8e |
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 cd modules && make CFLAGS="" KBUILD_VERBOSE=1 && make DESTDIR=$install install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 EXTRAVERSION=_${kvers}
49 mkdir -p $fs/lib
50 cp -a $install/lib/modules $fs/lib
51 }
53 post_install()
54 {
55 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
56 status
57 }