# HG changeset patch # User Nathan Neulinger # Date 1442620252 0 # Node ID a4a380229dc969a97973d1841384bd2a18164a95 # Parent 995a8662f5ad45760c60581019adb20478c1971e Add: WIP open-vm-tools kernel modules diff -r 995a8662f5ad -r a4a380229dc9 linux64-open-vm-tools-kernel/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/linux64-open-vm-tools-kernel/receipt Fri Sep 18 23:50:52 2015 +0000 @@ -0,0 +1,55 @@ +# SliTaz package receipt. + +PACKAGE="open-vm-tools-kernel" +VERSION="10.0.0-3000743" +CATEGORY="utilities" +TAGS="vmware kernel" +SHORT_DESC="Open VMware Tools" +MAINTAINER="nobody@slitaz.org" +LICENSE="GPL" +TARBALL="open-vm-tools-$VERSION.tar.gz" +WEB_SITE="https://github.com/vmware/open-vm-tools" +WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL" +HOST_ARCH="i486 x86_64" + +PROVIDES="open-vm-tools-kernel:linux64" + +DEPENDS="shutdown glib libffi libmspack open-vm-tools linux64" +BUILD_DEPENDS="autoconf automake libtool linux-source linux64-module-headers glib-dev libffi-dev libdnet-dev libmspack-dev slitaz-toolchain" + + +# Rules to configure and make the package. +compile_rules() +{ + [ -d /lib/modules/$(uname -r)/source ] || get-linux-source + + cd open-vm-tools + sed -i -e "s/-Werror//" configure.ac + autoreconf -i + ./configure \ + --without-pam \ + --without-x \ + --without-icu \ + --without-gtk2 \ + --without-gtkmm \ + --without-xmlsecurity \ + --without-xerces \ + $CONFIGURE_ARGS && + make && make DESTDIR=$install install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + EXTRAVERSION=_${kvers} + + mkdir -p $fs/lib + cp -a $install/lib/modules $fs/lib +} + +post_install() +{ + echo -n "Processing post-install commands..." + chroot "$1/" depmod -a + status +} diff -r 995a8662f5ad -r a4a380229dc9 open-vm-tools-kernel/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/open-vm-tools-kernel/receipt Fri Sep 18 23:50:52 2015 +0000 @@ -0,0 +1,53 @@ +# SliTaz package receipt. + +PACKAGE="open-vm-tools-kernel" +VERSION="10.0.0-3000743" +CATEGORY="utilities" +TAGS="vmware kernel" +SHORT_DESC="Open VMware Tools" +MAINTAINER="nobody@slitaz.org" +LICENSE="GPL" +TARBALL="open-vm-tools-$VERSION.tar.gz" +WEB_SITE="https://github.com/vmware/open-vm-tools" +WGET_URL="https://github.com/vmware/open-vm-tools/archive/$TARBALL" +HOST_ARCH="i486 x86_64" + +DEPENDS="shutdown glib libffi libmspack open-vm-tools" +BUILD_DEPENDS="autoconf automake libtool linux-source glib-dev libffi-dev libdnet-dev libmspack-dev slitaz-toolchain" + + +# Rules to configure and make the package. +compile_rules() +{ + [ -d /lib/modules/$(uname -r)/source ] || get-linux-source + + cd open-vm-tools + sed -i -e "s/-Werror//" configure.ac + autoreconf -i + ./configure \ + --without-pam \ + --without-x \ + --without-icu \ + --without-gtk2 \ + --without-gtkmm \ + --without-xmlsecurity \ + --without-xerces \ + $CONFIGURE_ARGS && + make && make DESTDIR=$install install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + EXTRAVERSION=_${kvers} + + mkdir -p $fs/lib + cp -a $install/lib/modules $fs/lib +} + +post_install() +{ + echo -n "Processing post-install commands..." + chroot "$1/" depmod -a + status +} diff -r 995a8662f5ad -r a4a380229dc9 open-vm-tools/receipt --- a/open-vm-tools/receipt Fri Sep 18 23:31:50 2015 +0000 +++ b/open-vm-tools/receipt Fri Sep 18 23:50:52 2015 +0000 @@ -19,13 +19,11 @@ # Rules to configure and make the package. compile_rules() { - [ -d /lib/modules/$(uname -r)/source ] || get-linux-source - cd open-vm-tools sed -i -e "s/-Werror//" configure.ac autoreconf -i ./configure \ - --with-distro="SliTaz" \ + --without-kernel-modules \ --without-pam \ --without-x \ --without-icu \ @@ -59,8 +57,6 @@ cp -a $install/sbin $fs/sbin - cp -a $install/lib/modules $fs/lib - cp -a $install/usr/include $fs/usr cp -a $install/usr/bin $fs/usr cp -a $install/usr/sbin $fs/usr @@ -72,10 +68,3 @@ cp -a $install/usr/lib/open-vm-tools $fs/usr/lib cp -a $install/usr/lib/pkgconfig $fs/usr/lib } - -post_install() -{ - echo -n "Processing post-install commands..." - chroot "$1/" depmod -a - status -}