wok-6.x rev 18392
Add: WIP open-vm-tools kernel modules
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Fri Sep 18 23:50:52 2015 +0000 (2015-09-18) |
parents | 995a8662f5ad |
children | a5a02262b0bd |
files | linux64-open-vm-tools-kernel/receipt open-vm-tools-kernel/receipt open-vm-tools/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/linux64-open-vm-tools-kernel/receipt Fri Sep 18 23:50:52 2015 +0000 1.3 @@ -0,0 +1,55 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="open-vm-tools-kernel" 1.7 +VERSION="10.0.0-3000743" 1.8 +CATEGORY="utilities" 1.9 +TAGS="vmware kernel" 1.10 +SHORT_DESC="Open VMware Tools" 1.11 +MAINTAINER="nobody@slitaz.org" 1.12 +LICENSE="GPL" 1.13 +TARBALL="open-vm-tools-$VERSION.tar.gz" 1.14 +WEB_SITE="https://github.com/vmware/open-vm-tools" 1.15 +WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL" 1.16 +HOST_ARCH="i486 x86_64" 1.17 + 1.18 +PROVIDES="open-vm-tools-kernel:linux64" 1.19 + 1.20 +DEPENDS="shutdown glib libffi libmspack open-vm-tools linux64" 1.21 +BUILD_DEPENDS="autoconf automake libtool linux-source linux64-module-headers glib-dev libffi-dev libdnet-dev libmspack-dev slitaz-toolchain" 1.22 + 1.23 + 1.24 +# Rules to configure and make the package. 1.25 +compile_rules() 1.26 +{ 1.27 + [ -d /lib/modules/$(uname -r)/source ] || get-linux-source 1.28 + 1.29 + cd open-vm-tools 1.30 + sed -i -e "s/-Werror//" configure.ac 1.31 + autoreconf -i 1.32 + ./configure \ 1.33 + --without-pam \ 1.34 + --without-x \ 1.35 + --without-icu \ 1.36 + --without-gtk2 \ 1.37 + --without-gtkmm \ 1.38 + --without-xmlsecurity \ 1.39 + --without-xerces \ 1.40 + $CONFIGURE_ARGS && 1.41 + make && make DESTDIR=$install install 1.42 +} 1.43 + 1.44 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 +genpkg_rules() 1.46 +{ 1.47 + EXTRAVERSION=_${kvers} 1.48 + 1.49 + mkdir -p $fs/lib 1.50 + cp -a $install/lib/modules $fs/lib 1.51 +} 1.52 + 1.53 +post_install() 1.54 +{ 1.55 + echo -n "Processing post-install commands..." 1.56 + chroot "$1/" depmod -a 1.57 + status 1.58 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/open-vm-tools-kernel/receipt Fri Sep 18 23:50:52 2015 +0000 2.3 @@ -0,0 +1,53 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="open-vm-tools-kernel" 2.7 +VERSION="10.0.0-3000743" 2.8 +CATEGORY="utilities" 2.9 +TAGS="vmware kernel" 2.10 +SHORT_DESC="Open VMware Tools" 2.11 +MAINTAINER="nobody@slitaz.org" 2.12 +LICENSE="GPL" 2.13 +TARBALL="open-vm-tools-$VERSION.tar.gz" 2.14 +WEB_SITE="https://github.com/vmware/open-vm-tools" 2.15 +WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL" 2.16 +HOST_ARCH="i486 x86_64" 2.17 + 2.18 +DEPENDS="shutdown glib libffi libmspack open-vm-tools" 2.19 +BUILD_DEPENDS="autoconf automake libtool linux-source glib-dev libffi-dev libdnet-dev libmspack-dev slitaz-toolchain" 2.20 + 2.21 + 2.22 +# Rules to configure and make the package. 2.23 +compile_rules() 2.24 +{ 2.25 + [ -d /lib/modules/$(uname -r)/source ] || get-linux-source 2.26 + 2.27 + cd open-vm-tools 2.28 + sed -i -e "s/-Werror//" configure.ac 2.29 + autoreconf -i 2.30 + ./configure \ 2.31 + --without-pam \ 2.32 + --without-x \ 2.33 + --without-icu \ 2.34 + --without-gtk2 \ 2.35 + --without-gtkmm \ 2.36 + --without-xmlsecurity \ 2.37 + --without-xerces \ 2.38 + $CONFIGURE_ARGS && 2.39 + make && make DESTDIR=$install install 2.40 +} 2.41 + 2.42 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.43 +genpkg_rules() 2.44 +{ 2.45 + EXTRAVERSION=_${kvers} 2.46 + 2.47 + mkdir -p $fs/lib 2.48 + cp -a $install/lib/modules $fs/lib 2.49 +} 2.50 + 2.51 +post_install() 2.52 +{ 2.53 + echo -n "Processing post-install commands..." 2.54 + chroot "$1/" depmod -a 2.55 + status 2.56 +}
3.1 --- a/open-vm-tools/receipt Fri Sep 18 23:31:50 2015 +0000 3.2 +++ b/open-vm-tools/receipt Fri Sep 18 23:50:52 2015 +0000 3.3 @@ -19,13 +19,11 @@ 3.4 # Rules to configure and make the package. 3.5 compile_rules() 3.6 { 3.7 - [ -d /lib/modules/$(uname -r)/source ] || get-linux-source 3.8 - 3.9 cd open-vm-tools 3.10 sed -i -e "s/-Werror//" configure.ac 3.11 autoreconf -i 3.12 ./configure \ 3.13 - --with-distro="SliTaz" \ 3.14 + --without-kernel-modules \ 3.15 --without-pam \ 3.16 --without-x \ 3.17 --without-icu \ 3.18 @@ -59,8 +57,6 @@ 3.19 3.20 cp -a $install/sbin $fs/sbin 3.21 3.22 - cp -a $install/lib/modules $fs/lib 3.23 - 3.24 cp -a $install/usr/include $fs/usr 3.25 cp -a $install/usr/bin $fs/usr 3.26 cp -a $install/usr/sbin $fs/usr 3.27 @@ -72,10 +68,3 @@ 3.28 cp -a $install/usr/lib/open-vm-tools $fs/usr/lib 3.29 cp -a $install/usr/lib/pkgconfig $fs/usr/lib 3.30 } 3.31 - 3.32 -post_install() 3.33 -{ 3.34 - echo -n "Processing post-install commands..." 3.35 - chroot "$1/" depmod -a 3.36 - status 3.37 -}