Files
Arch-R/packages/sysutils/open-vm-tools/package.mk
Stephan Raue 0f3e2d4ffa update license headers
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2013-12-21 21:51:48 +01:00

66 lines
2.5 KiB
Makefile

################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2011 Anthony Nash (nash.ant@gmail.com)
#
# OpenELEC is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# OpenELEC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
################################################################################
PKG_NAME="open-vm-tools"
PKG_VERSION="9.2.3-1031360"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://open-vm-tools.sourceforge.net"
PKG_URL="$SOURCEFORGE_SRC/project/open-vm-tools/open-vm-tools/stable-9.2.x/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS="glib"
PKG_BUILD_DEPENDS_TARGET="toolchain glib"
PKG_PRIORITY="optional"
PKG_SECTION="virtualization"
PKG_SHORTDESC="open-vm-tools: open source implementation of VMware Tools"
PKG_LONGDESC="open-vm-tools: open source implementation of VMware Tools"
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="--disable-docs \
--disable-tests \
--without-pam \
--without-gtk2 \
--without-gtkmm \
--without-dnet \
--without-x \
--without-icu \
--without-procps \
--with-kernel-release=`kernel_version` \
--with-linuxdir=`kernel_path`"
PKG_MAKE_OPTS_TARGET="CFLAGS+=-DG_DISABLE_DEPRECATED"
makeinstall_target() {
mkdir -p $INSTALL/lib/modules/`kernel_version`/open-vm-tools
cp -PR ../modules/linux/vmxnet/vmxnet.ko $INSTALL/lib/modules/`kernel_version`/open-vm-tools
mkdir -p $INSTALL/usr/lib
cp -PR libvmtools/.libs/libvmtools.so* $INSTALL/usr/lib
mkdir -p $INSTALL/usr/bin
cp -PR services/vmtoolsd/.libs/vmtoolsd $INSTALL/usr/bin
cp -PR checkvm/.libs/vmware-checkvm $INSTALL/usr/bin
}
post_install() {
enable_service open-vm-tools.service
}