add vmware server console

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1280 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2009-05-30 17:07:43 +00:00
parent c732acd994
commit 72e17d32a2

View File

@ -60,6 +60,8 @@ vmware-1_determine_product() {
;; ;;
server-console) server-console)
FULL_NAME="Server Console" FULL_NAME="Server Console"
SRC_URI="mirror://vmware/software/vmserver/${VM_SRC}"
HOMEPAGE="http://www.vmware.com/download/server/"
config_program="vmware-config-server-console.pl" config_program="vmware-config-server-console.pl"
config_dir="/etc/${PN}" config_dir="/etc/${PN}"
;; ;;
@ -80,13 +82,13 @@ RESTRICT="strip"
vmware-1_determine_product vmware-1_determine_product
#if [ -n "${VM_SRC_EXTRA}" ] if [ -n "${VM_SRC_EXTRA}" ]
#then then
for a in ${VM_SRC_EXTRA} for a in ${VM_SRC_EXTRA}
do do
SRC_URI="${SRC_URI} http://ftp.mars.arge.at/vmware/${P/_p/-}-${a}.tar.bz2" SRC_URI="${SRC_URI} http://ftp.mars.arge.at/vmware/${P/_p/-}-${a}.tar.bz2"
done done
#fi fi
export VMWARE_GROUP=${VMWARE_GROUP:-vmware} export VMWARE_GROUP=${VMWARE_GROUP:-vmware}
export VMWARE_INSTALL_DIR=/opt/${PN//-//} export VMWARE_INSTALL_DIR=/opt/${PN//-//}
@ -123,10 +125,13 @@ vmware-1_pkg_setup() {
vmware-1_src_unpack() { vmware-1_src_unpack() {
unpack ${VM_SRC} unpack ${VM_SRC}
if [ -n "${VM_SRC_EXTRA}" ]
then
for a in ${VM_SRC_EXTRA} for a in ${VM_SRC_EXTRA}
do do
unpack ${P/_p/-}-${a}.tar.bz2 unpack ${P/_p/-}-${a}.tar.bz2
done done
fi
} }
vmware-1_src_prepare() { vmware-1_src_prepare() {
@ -381,10 +386,13 @@ vmware-1_pkg_nofetch() {
einfo "This files require you to register at www.vmware.com" einfo "This files require you to register at www.vmware.com"
einfo "Please download following files:" einfo "Please download following files:"
einfo " - ${VM_SRC} from ${HOMEPAGE}" einfo " - ${VM_SRC} from ${HOMEPAGE}"
if [ -n "${VM_SRC_EXTRA}" ]
then
for a in ${VM_SRC_EXTRA} for a in ${VM_SRC_EXTRA}
do do
einfo " - http://ftp.mars.arge.at/vmware/${P/_p/-}-${a}.tar.bz2" einfo " - http://ftp.mars.arge.at/vmware/${P/_p/-}-${a}.tar.bz2"
done done
fi
einfo "and place them in ${DISTDIR}" einfo "and place them in ${DISTDIR}"
} }