wok-current view open-vm-tools-kernel/receipt @ rev 19719
transfig: update for libpng >= 1.4.1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 10:08:24 2017 +0100 (2017-02-16) |
parents | 008c6e5ef5a5 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="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 DEPENDS="linux shutdown glib libffi libmspack open-vm-tools procps"
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"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 [ -d /lib/modules/${kvers}-slitaz/source ] || get-linux-source
24 cd open-vm-tools
25 sed -i -e "s/-Werror//" configure.ac
26 autoreconf -i
27 ./configure \
28 --without-pam \
29 --without-x \
30 --without-icu \
31 --without-gtk2 \
32 --without-gtkmm \
33 --without-xmlsecurity \
34 --without-xerces \
35 --with-kernel-release=${kvers}-slitaz \
36 $CONFIGURE_ARGS && cd modules && \
37 make && make DESTDIR=$install install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 EXTRAVERSION=_${kvers}
45 mkdir -p $fs/lib
46 cp -a $install/lib/modules $fs/lib
47 }
49 post_install()
50 {
51 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
52 status
53 }