wok view linux64-open-vm-tools-kernel/receipt @ rev 22756
updated ffmpeg, ffmpeg-dev and ffplay (4.1.3 -> 4.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 24 16:20:17 2020 +0100 (2020-01-24) |
parents | 0554d00baf8e |
children | 5ea0ce1cecc0 |
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 # Rules to configure and make the package.
23 compile_rules()
24 {
25 [ -d /lib/modules/${kvers}-slitaz/source ] || get-linux-source
27 cd open-vm-tools
28 sed -i -e "s/-Werror//" configure.ac
29 autoreconf -i
30 ./configure \
31 --without-pam \
32 --without-x \
33 --without-icu \
34 --without-gtk2 \
35 --without-gtkmm \
36 --without-xmlsecurity \
37 --without-xerces \
38 --with-kernel-release=${kvers}-slitaz64 \
39 $CONFIGURE_ARGS
40 cd modules && make CFLAGS="" KBUILD_VERBOSE=1 && make DESTDIR=$install install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 EXTRAVERSION=_${kvers}
48 mkdir -p $fs/lib
49 cp -a $install/lib/modules $fs/lib
50 }
52 post_install()
53 {
54 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64
55 status
56 }