wok-next view open-vm-tools-kernel/receipt @ rev 20884

Check Repology info from m* to python-babel
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 12 18:34:58 2018 +0300 (2018-07-12)
parents d247e85339a4
children d5aab818505e
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 SHORT_DESC="Open VMware Tools"
8 MAINTAINER="nobody@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="https://github.com/vmware/open-vm-tools"
11 REPOLOGY="open-vm-tools"
12 HOST_ARCH="i486 x86_64"
14 TARBALL="open-vm-tools-$VERSION.tar.gz"
15 WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL"
17 DEPENDS="linux shutdown glib libffi libmspack open-vm-tools procps"
18 BUILD_DEPENDS="wget cacerts linux autoconf automake libtool linux-source \
19 linux-module-headers procps glib-dev libffi-dev libdnet-dev libmspack-dev \
20 slitaz-toolchain bc"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 [ -d /lib/modules/${kvers}-slitaz/source ] || get-linux-source
27 cd open-vm-tools
28 sed -i -e "s/-Werror//" configure.ac
29 autoreconf -i
30 ./configure \
31 --without-pam \
32 --without-x \
33 --without-icu \
34 --without-gtk2 \
35 --without-gtkmm \
36 --without-xmlsecurity \
37 --without-xerces \
38 --with-kernel-release=${kvers}-slitaz \
39 $CONFIGURE_ARGS && cd modules && \
40 make && make DESTDIR=$install install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
47 mkdir -p $fs/lib
48 cp -a $install/lib/modules $fs/lib
49 TAGS="vmware kernel"
50 }
52 post_install()
53 {
54 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz
55 status
56 }