wok-next annotate open-vm-tools-kernel/receipt @ rev 21627
updated enet (1.2.1 -> 1.3.15)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 16:07:08 2020 +0100 (2020-06-25) |
parents | 4e6503d7a19f |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
nneul@18392 | 2 |
nneul@18392 | 3 PACKAGE="open-vm-tools-kernel" |
nneul@18392 | 4 VERSION="10.0.0-3000743" |
al@20251 | 5 EXTRAVERSION="_$kvers" |
nneul@18392 | 6 CATEGORY="utilities" |
nneul@18392 | 7 SHORT_DESC="Open VMware Tools" |
al@21020 | 8 MAINTAINER="devel@slitaz.org" |
nneul@18392 | 9 LICENSE="GPL" |
al@20884 | 10 WEB_SITE="https://github.com/vmware/open-vm-tools" |
al@20884 | 11 REPOLOGY="open-vm-tools" |
al@20884 | 12 |
nneul@18392 | 13 TARBALL="open-vm-tools-$VERSION.tar.gz" |
nneul@18392 | 14 WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL" |
nneul@18392 | 15 |
pascal@20245 | 16 BUILD_DEPENDS="wget cacerts linux autoconf automake libtool linux-source \ |
pascal@20245 | 17 linux-module-headers procps glib-dev libffi-dev libdnet-dev libmspack-dev \ |
pascal@20245 | 18 slitaz-toolchain bc" |
nneul@18392 | 19 |
al@21020 | 20 compile_rules() { |
al@21020 | 21 [ -d /lib/modules/$kvers-slitaz/source ] || get-linux-source |
nneul@18392 | 22 |
nneul@18392 | 23 cd open-vm-tools |
nneul@18392 | 24 sed -i -e "s/-Werror//" configure.ac |
nneul@18392 | 25 autoreconf -i |
al@21020 | 26 ./configure \ |
nneul@18392 | 27 --without-pam \ |
nneul@18392 | 28 --without-x \ |
nneul@18392 | 29 --without-icu \ |
nneul@18392 | 30 --without-gtk2 \ |
nneul@18392 | 31 --without-gtkmm \ |
nneul@18392 | 32 --without-xmlsecurity \ |
nneul@18392 | 33 --without-xerces \ |
al@21020 | 34 --with-kernel-release=$kvers-slitaz \ |
al@21020 | 35 $CONFIGURE_ARGS && |
al@21020 | 36 cd modules && |
al@21020 | 37 make && |
al@21020 | 38 make DESTDIR=$install install |
nneul@18392 | 39 } |
nneul@18392 | 40 |
al@21020 | 41 genpkg_rules() { |
nneul@18392 | 42 mkdir -p $fs/lib |
nneul@18392 | 43 cp -a $install/lib/modules $fs/lib |
al@20884 | 44 TAGS="vmware kernel" |
al@21020 | 45 DEPENDS="linux shutdown glib libffi libmspack open-vm-tools procps" |
nneul@18392 | 46 } |
nneul@18392 | 47 |
al@21020 | 48 post_install() { |
nneul@18399 | 49 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz |
nneul@18392 | 50 status |
nneul@18392 | 51 } |