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

open-vm-tools: only build modules
author Nathan Neulinger <nneul@neulinger.org>
date Sat Sep 19 02:27:00 2015 +0000 (2015-09-19)
parents a5a02262b0bd
children ab0bb7303eff
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 linux-module-headers linux64-module-headers glib-dev libffi-dev libdnet-dev libmspack-dev 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 && \
38 make LINUXINCLUDE=/usr/src/linux-3.2.71-slitaz64/build/include && \
39 make LINUXINCLUDE=/usr/src/linux-3.2.71-slitaz64/build/include DESTDIR=$install install
41 #--with-linuxdir=/usr/src/linux-${kvers}-slitaz64 \
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 echo -n "Processing post-install commands..."
56 chroot "$1/" depmod -a
57 status
58 }