wok-next view open-vm-tools-kernel/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 4e6503d7a19f
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="open-vm-tools-kernel"
4 VERSION="10.0.0-3000743"
5 EXTRAVERSION="_$kvers"
6 CATEGORY="utilities"
7 SHORT_DESC="Open VMware Tools"
8 MAINTAINER="devel@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="https://github.com/vmware/open-vm-tools"
11 REPOLOGY="open-vm-tools"
13 TARBALL="open-vm-tools-$VERSION.tar.gz"
14 WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL"
16 BUILD_DEPENDS="wget cacerts linux autoconf automake libtool linux-source \
17 linux-module-headers procps glib-dev libffi-dev libdnet-dev libmspack-dev \
18 slitaz-toolchain bc"
20 compile_rules() {
21 [ -d /lib/modules/$kvers-slitaz/source ] || get-linux-source
23 cd open-vm-tools
24 sed -i -e "s/-Werror//" configure.ac
25 autoreconf -i
26 ./configure \
27 --without-pam \
28 --without-x \
29 --without-icu \
30 --without-gtk2 \
31 --without-gtkmm \
32 --without-xmlsecurity \
33 --without-xerces \
34 --with-kernel-release=$kvers-slitaz \
35 $CONFIGURE_ARGS &&
36 cd modules &&
37 make &&
38 make DESTDIR=$install install
39 }
41 genpkg_rules() {
42 mkdir -p $fs/lib
43 cp -a $install/lib/modules $fs/lib
44 TAGS="vmware kernel"
45 DEPENDS="linux shutdown glib libffi libmspack open-vm-tools procps"
46 }
48 post_install() {
49 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
50 status
51 }