wok-current view open-vm-tools-kernel/receipt @ rev 24966
updated nettle and nettle-dev (3.5.1 -> 3.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 25 07:28:45 2022 +0100 (2022-04-25) |
parents | 5ea0ce1cecc0 |
children |
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="linux shutdown glib libffi libmspack open-vm-tools procps"
16 BUILD_DEPENDS="wget cacerts linux autoconf automake libtool linux-source linux-module-headers procps glib-dev libffi-dev libdnet-dev libmspack-dev slitaz-toolchain"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/release.*tar.gz/!d;s|.*/open-vm-tools-\(.*\).tar.*|\1|;q'
22 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 [ -d /lib/modules/${kvers}-slitaz/source ] || get-linux-source
30 cd open-vm-tools
31 sed -i -e "s/-Werror//" configure.ac
32 autoreconf -i
33 ./configure \
34 --without-pam \
35 --without-x \
36 --without-icu \
37 --without-gtk2 \
38 --without-gtkmm \
39 --without-xmlsecurity \
40 --without-xerces \
41 --with-kernel-release=${kvers}-slitaz \
42 $CONFIGURE_ARGS && cd modules && \
43 make && make DESTDIR=$install install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 EXTRAVERSION=_${kvers}
51 mkdir -p $fs/lib
52 cp -a $install/lib/modules $fs/lib
53 }
55 post_install()
56 {
57 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
58 status
59 }