small corrections

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1289 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-05-31 21:18:43 +00:00
parent b34d3f8ffa
commit 7a6d839256
2 changed files with 24 additions and 16 deletions

View File

@ -40,13 +40,13 @@ vmware-1_determine_product() {
case "${shortname}" in
workstation)
FULL_NAME="Workstation"
SRC_URI="mirror://vmware/software/wkst/${VM_SRC}"
SRC_URI_ROOT="mirror://vmware/software/wkst/"
HOMEPAGE="http://www.vmware.com/download/ws/"
RESTRICT="fetch strip"
;;
player)
FULL_NAME="Player"
SRC_URI="mirror://vmware/software/vmplayer/${VM_SRC}"
SRC_URI_ROOT="mirror://vmware/software/vmplayer/"
HOMEPAGE="http://www.vmware.com/download/player/"
;;
converter)
@ -55,12 +55,12 @@ vmware-1_determine_product() {
;;
server)
FULL_NAME="Server"
SRC_URI="mirror://vmware/software/vmserver/${VM_SRC}"
SRC_URI_ROOT="mirror://vmware/software/vmserver/"
HOMEPAGE="http://www.vmware.com/download/server/"
;;
server-console)
FULL_NAME="Server Console"
SRC_URI="mirror://vmware/software/vmserver/${VM_SRC}"
SRC_URI_ROOT="mirror://vmware/software/vmserver/"
HOMEPAGE="http://www.vmware.com/download/server/"
config_program="vmware-config-server-console.pl"
config_dir="/etc/${PN}"
@ -71,18 +71,16 @@ vmware-1_determine_product() {
esac
}
DEPEND="x11-misc/shared-mime-info"
DESCRIPTION="VMware ${FULL_NAME} for Linux"
# check if we have a amd64 package
if [[ -n ${VM_SRC64} ]]
then
SRC_URI="x86? ( ${SRC_URI_ROOT}${VM_SRC} )
amd64? ( ${SRC_URI_ROOT}${VM_SRC64} )"
else
SRC_URI="${SRC_URI_ROOT}${VM_SRC}"
fi
LICENSE="vmware"
IUSE=""
RESTRICT="strip"
#if [ -z "${VM_SRC}" ] && die "Buggy ebuild plz define VM_SRC"
vmware-1_determine_product
if [ -n "${VM_SRC_EXTRA}" ]
if [[ -n "${VM_SRC_EXTRA}" ]]
then
for a in ${VM_SRC_EXTRA}
do
@ -90,6 +88,16 @@ then
done
fi
DESCRIPTION="VMware ${FULL_NAME} for Linux"
LICENSE="vmware"
RESTRICT="strip mirror"
SLOT="0"
DEPEND="x11-misc/shared-mime-info"
#if [ -z "${VM_SRC}" ] && die "Buggy ebuild plz define VM_SRC"
vmware-1_determine_product
export VMWARE_GROUP=${VMWARE_GROUP:-vmware}
export VMWARE_INSTALL_DIR=/opt/${PN//-//}

View File

@ -18,7 +18,7 @@ case ${PN} in
vmware-modules)
# vmware modules greater 208 (Workstation 6.5.* or Player 2.5.* or server 2.0.*) are GPL-2
# the MAJOR version number is from vmmon-only/include/iocontrols.h VMMON_VERSION
# the MINOR version number is the SUBVERSION number if the wkst, player, or server package
# the MINOR version number is the SUBVERSION number of the wkst, player, or server package
# (normally they match) put them into its own package
# older modules are licensed VMware Confidental
# we have to get them from the upstream package