wok-next view open-vm-tools-kernel/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | ca382d0ab983 |
children | 4e6503d7a19f |
line source
1 # SliTaz package receipt.
3 PACKAGE="open-vm-tools-kernel"
4 VERSION="10.0.0-3000743"
5 EXTRAVERSION="_$kvers"
6 CATEGORY="utilities"
7 TAGS="vmware kernel"
8 SHORT_DESC="Open VMware Tools"
9 MAINTAINER="nobody@slitaz.org"
10 LICENSE="GPL"
11 TARBALL="open-vm-tools-$VERSION.tar.gz"
12 WEB_SITE="https://github.com/vmware/open-vm-tools"
13 WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL"
14 HOST_ARCH="i486 x86_64"
16 DEPENDS="linux shutdown glib libffi libmspack open-vm-tools procps"
17 BUILD_DEPENDS="wget cacerts linux autoconf automake libtool linux-source \
18 linux-module-headers procps glib-dev libffi-dev libdnet-dev libmspack-dev \
19 slitaz-toolchain bc"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 [ -d /lib/modules/${kvers}-slitaz/source ] || get-linux-source
26 cd open-vm-tools
27 sed -i -e "s/-Werror//" configure.ac
28 autoreconf -i
29 ./configure \
30 --without-pam \
31 --without-x \
32 --without-icu \
33 --without-gtk2 \
34 --without-gtkmm \
35 --without-xmlsecurity \
36 --without-xerces \
37 --with-kernel-release=${kvers}-slitaz \
38 $CONFIGURE_ARGS && cd modules && \
39 make && make DESTDIR=$install install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
46 mkdir -p $fs/lib
47 cp -a $install/lib/modules $fs/lib
48 }
50 post_install()
51 {
52 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
53 status
54 }