# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-esx-console/vmware-esx-console-2.5.2.16390.ebuild,v 1.2 2006/01/31 21:34:19 mattm Exp $ MY_PN="VMware-console-2.5.2-16390.tar.gz" S="${WORKDIR}/vmware-console-distrib" DESCRIPTION="VMware ESX Remote Console for Linux" HOMEPAGE="http://www.vmware.com/" SRC_URI="${MY_PN}" LICENSE="vmware-console" SLOT="0" KEYWORDS="~x86" IUSE="" RESTRICT="fetch nostrip" DEPEND="virtual/libc" RDEPEND="|| ( ( x11-libs/gtk+ x11-libs/libICE x11-libs/libSM x11-libs/libXext x11-libs/libXi x11-libs/libXpm x11-libs/libXtst x11-libs/libX11 ) virtual/x11 ) sys-libs/zlib" pkg_nofetch() { einfo "Please place ${FN} in ${DISTDIR}" } src_install() { dodir /opt/vmware/bin cp -a bin/* ${D}/opt/vmware/bin/ dodir /opt/vmware/lib cp -dr lib/* ${D}/opt/vmware/lib/ dodir /opt/vmware/doc cp -a doc/* ${D}/opt/vmware/doc/ dodir /opt/vmware/man/ cp -a man/* ${D}/opt/vmware/man/ dodir /usr/bin dosym /opt/vmware/bin/vmware-console /usr/bin/vmware-console dodir /usr/lib dosym /opt/vmware/lib /usr/lib/vmware }