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

open-vm-tools: missing deps
author Nathan Neulinger <nneul@neulinger.org>
date Sat Sep 19 03:36:38 2015 +0000 (2015-09-19)
parents d565318838df
children a5e45eb2082b
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="autoconf automake libtool linux-source linux-module-headers linux64-module-headers glib-dev libffi-dev libdnet-dev libmspack-dev procps slitaz-toolchain uclibc-cross-compiler-x86_64"
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 $CONFIGURE_ARGS
39 sed -i -e "s/${kvers}-slitaz/${kvers}-slitaz64/" modules/Makefile
40 cd modules && make CFLAGS="" KBUILD_VERBOSE=1 && make DESTDIR=$install install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 EXTRAVERSION=_${kvers}
48 mkdir -p $fs/lib
49 cp -a $install/lib/modules $fs/lib
50 }
52 post_install()
53 {
54 echo -n "Processing post-install commands..."
55 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
56 status
57 }