wok view 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="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 DEPENDS="shutdown glib libffi libmspack open-vm-tools procps"
16 BUILD_DEPENDS="autoconf automake libtool linux-source linux-module-headers procps glib-dev libffi-dev libdnet-dev libmspack-dev slitaz-toolchain"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 [ -d /lib/modules/${kvers}-slitaz/source ] || get-linux-source
24 cd open-vm-tools
25 sed -i -e "s/-Werror//" configure.ac
26 autoreconf -i
27 ./configure \
28 --without-pam \
29 --without-x \
30 --without-icu \
31 --without-gtk2 \
32 --without-gtkmm \
33 --without-xmlsecurity \
34 --without-xerces \
35 $CONFIGURE_ARGS && cd modules && \
36 make && make DESTDIR=$install install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 EXTRAVERSION=_${kvers}
44 mkdir -p $fs/lib
45 cp -a $install/lib/modules $fs/lib
46 }
48 post_install()
49 {
50 echo -n "Processing post-install commands..."
51 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
52 status
53 }