wok-current annotate open-vm-tools-kernel/receipt @ rev 21678
updated pgrouting (2.5.2 -> 2.6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 02 10:56:29 2019 +0100 (2019-06-02) |
parents | 008c6e5ef5a5 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
nneul@18392 | 1 # SliTaz package receipt. |
nneul@18392 | 2 |
nneul@18392 | 3 PACKAGE="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@18401 | 15 DEPENDS="linux shutdown glib libffi libmspack open-vm-tools procps" |
nneul@18408 | 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" |
nneul@18392 | 17 |
nneul@18392 | 18 |
nneul@18392 | 19 # Rules to configure and make the package. |
nneul@18392 | 20 compile_rules() |
nneul@18392 | 21 { |
nneul@18396 | 22 [ -d /lib/modules/${kvers}-slitaz/source ] || get-linux-source |
nneul@18392 | 23 |
nneul@18392 | 24 cd open-vm-tools |
nneul@18392 | 25 sed -i -e "s/-Werror//" configure.ac |
nneul@18392 | 26 autoreconf -i |
nneul@18392 | 27 ./configure \ |
nneul@18392 | 28 --without-pam \ |
nneul@18392 | 29 --without-x \ |
nneul@18392 | 30 --without-icu \ |
nneul@18392 | 31 --without-gtk2 \ |
nneul@18392 | 32 --without-gtkmm \ |
nneul@18392 | 33 --without-xmlsecurity \ |
nneul@18392 | 34 --without-xerces \ |
nneul@18406 | 35 --with-kernel-release=${kvers}-slitaz \ |
nneul@18396 | 36 $CONFIGURE_ARGS && cd modules && \ |
nneul@18392 | 37 make && make DESTDIR=$install install |
nneul@18392 | 38 } |
nneul@18392 | 39 |
nneul@18392 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18392 | 41 genpkg_rules() |
nneul@18392 | 42 { |
nneul@18392 | 43 EXTRAVERSION=_${kvers} |
nneul@18392 | 44 |
nneul@18392 | 45 mkdir -p $fs/lib |
nneul@18392 | 46 cp -a $install/lib/modules $fs/lib |
nneul@18392 | 47 } |
nneul@18392 | 48 |
nneul@18392 | 49 post_install() |
nneul@18392 | 50 { |
nneul@18399 | 51 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz |
nneul@18392 | 52 status |
nneul@18392 | 53 } |