wok-current annotate linux64-open-vm-tools-kernel/receipt @ rev 25229
updated python-pyst2 (0.5.0 -> 0.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:59:13 2022 +0100 (2022-07-13) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
nneul@18392 | 1 # SliTaz package receipt. |
nneul@18392 | 2 |
nneul@18393 | 3 PACKAGE="linux64-open-vm-tools-kernel" |
nneul@18392 | 4 VERSION="10.0.0-3000743" |
nneul@18392 | 5 CATEGORY="utilities" |
nneul@18392 | 6 TAGS="vmware kernel" |
nneul@18392 | 7 SHORT_DESC="Open VMware Tools" |
nneul@18392 | 8 MAINTAINER="nobody@slitaz.org" |
nneul@18392 | 9 LICENSE="GPL" |
nneul@18392 | 10 TARBALL="open-vm-tools-$VERSION.tar.gz" |
nneul@18392 | 11 WEB_SITE="https://github.com/vmware/open-vm-tools" |
nneul@18392 | 12 WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL" |
nneul@18392 | 13 HOST_ARCH="i486 x86_64" |
nneul@18392 | 14 |
nneul@18393 | 15 PROVIDE="open-vm-tools-kernel:linux64" |
nneul@18392 | 16 |
nneul@18400 | 17 DEPENDS="shutdown glib libffi libmspack open-vm-tools linux64 procps" |
nneul@18410 | 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" |
nneul@18392 | 19 |
pascal@18412 | 20 AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" |
nneul@18392 | 21 |
pascal@24055 | 22 current_version() |
pascal@24055 | 23 { |
pascal@24055 | 24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24299 | 25 sed '/release.*tar.gz/!d;s|.*/open-vm-tools-\(.*\).tar.*|\1|;q' |
pascal@24055 | 26 } |
pascal@24055 | 27 |
nneul@18392 | 28 # Rules to configure and make the package. |
nneul@18392 | 29 compile_rules() |
nneul@18392 | 30 { |
nneul@18396 | 31 [ -d /lib/modules/${kvers}-slitaz/source ] || get-linux-source |
nneul@18392 | 32 |
nneul@18392 | 33 cd open-vm-tools |
nneul@18392 | 34 sed -i -e "s/-Werror//" configure.ac |
nneul@18392 | 35 autoreconf -i |
nneul@18392 | 36 ./configure \ |
nneul@18392 | 37 --without-pam \ |
nneul@18392 | 38 --without-x \ |
nneul@18392 | 39 --without-icu \ |
nneul@18392 | 40 --without-gtk2 \ |
nneul@18392 | 41 --without-gtkmm \ |
nneul@18392 | 42 --without-xmlsecurity \ |
nneul@18392 | 43 --without-xerces \ |
nneul@18406 | 44 --with-kernel-release=${kvers}-slitaz64 \ |
nneul@18397 | 45 $CONFIGURE_ARGS |
nneul@18397 | 46 cd modules && make CFLAGS="" KBUILD_VERBOSE=1 && make DESTDIR=$install install |
nneul@18392 | 47 } |
nneul@18392 | 48 |
nneul@18392 | 49 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18392 | 50 genpkg_rules() |
nneul@18392 | 51 { |
nneul@18392 | 52 EXTRAVERSION=_${kvers} |
nneul@18392 | 53 |
nneul@18392 | 54 mkdir -p $fs/lib |
nneul@18392 | 55 cp -a $install/lib/modules $fs/lib |
nneul@18392 | 56 } |
nneul@18392 | 57 |
nneul@18392 | 58 post_install() |
nneul@18392 | 59 { |
nneul@18399 | 60 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz64 |
nneul@18392 | 61 status |
nneul@18392 | 62 } |