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

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents ca382d0ab983
children 4e6503d7a19f
line source
1 # SliTaz package receipt.
3 PACKAGE="open-vm-tools-kernel"
4 VERSION="10.0.0-3000743"
5 EXTRAVERSION="_$kvers"
6 CATEGORY="utilities"
7 TAGS="vmware kernel"
8 SHORT_DESC="Open VMware Tools"
9 MAINTAINER="nobody@slitaz.org"
10 LICENSE="GPL"
11 TARBALL="open-vm-tools-$VERSION.tar.gz"
12 WEB_SITE="https://github.com/vmware/open-vm-tools"
13 WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL"
14 HOST_ARCH="i486 x86_64"
16 DEPENDS="linux shutdown glib libffi libmspack open-vm-tools procps"
17 BUILD_DEPENDS="wget cacerts linux autoconf automake libtool linux-source \
18 linux-module-headers procps glib-dev libffi-dev libdnet-dev libmspack-dev \
19 slitaz-toolchain bc"
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}-slitaz \
38 $CONFIGURE_ARGS && cd modules && \
39 make && make DESTDIR=$install install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
46 mkdir -p $fs/lib
47 cp -a $install/lib/modules $fs/lib
48 }
50 post_install()
51 {
52 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
53 status
54 }