wok view linux64-open-vm-tools-kernel/receipt @ rev 25689
updated mmv (1.01b-18 -> 2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 13 10:48:47 2024 +0100 (7 months ago) |
parents | ac8ca9758df1 |
children |
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 procps"
18 BUILD_DEPENDS="uclibc-cross-compiler-x86_64 wget cacerts autoconf automake libtool linux-source linux-module-headers linux64 linux64-module-headers glib-dev libffi-dev libdnet-dev libmspack-dev procps slitaz-toolchain"
20 AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8("
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
26 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 [ -d /lib/modules/${kvers}-slitaz/source ] || get-linux-source
34 cd open-vm-tools
35 sed -i -e "s/-Werror//" configure.ac
36 autoreconf -i
37 ./configure \
38 --without-pam \
39 --without-x \
40 --without-icu \
41 --without-gtk2 \
42 --without-gtkmm \
43 --without-xmlsecurity \
44 --without-xerces \
45 --with-kernel-release=${kvers}-slitaz64 \
46 $CONFIGURE_ARGS
47 cd modules && make CFLAGS="" KBUILD_VERBOSE=1 && make DESTDIR=$install install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 EXTRAVERSION=_${kvers}
55 mkdir -p $fs/lib
56 cp -a $install/lib/modules $fs/lib
57 }
59 post_install()
60 {
61 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
62 status
63 }