2009-05-30 00:31:49 +02:00
|
|
|
# Copyright 1999-2009 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
|
2009-05-31 12:53:35 +02:00
|
|
|
GENPATCHES_VER="1"
|
|
|
|
VM_SRC_URI="mirror://vmware/software/vmserver/VMware-server-1.0.9-156507.tar.gz"
|
2009-05-30 00:31:49 +02:00
|
|
|
|
|
|
|
inherit vmware-mod-2
|
|
|
|
|
2009-05-31 12:53:35 +02:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
S="${WORKDIR}"/vmware-server-distrib/lib/modules/source/
|
|
|
|
|
2009-05-30 00:31:49 +02:00
|
|
|
pkg_setup() {
|
2009-05-30 08:31:40 +02:00
|
|
|
if kernel_is ge 2 6 25; then
|
2009-05-30 00:31:49 +02:00
|
|
|
CONFIG_CHECK="UNUSED_SYMBOLS"
|
|
|
|
fi
|
2009-05-30 08:31:40 +02:00
|
|
|
if kernel_is ge 2 6 29; then
|
|
|
|
ewarn "starting with kernel version 2.6.29 the deprecated"
|
|
|
|
ewarn "symbole init_mm isn't exported."
|
2009-05-30 14:35:49 +02:00
|
|
|
die "kernel not supported!"
|
2009-05-30 08:31:40 +02:00
|
|
|
fi
|
2009-05-30 00:31:49 +02:00
|
|
|
vmware-mod-2_pkg_setup
|
|
|
|
}
|