2008-03-17 22:24:23 +01:00
|
|
|
# Description: VmWare Server
|
|
|
|
# URL: http://www.vmware.com/
|
2008-03-18 12:28:03 +01:00
|
|
|
# Maintainer: unmaintained
|
2008-03-17 22:24:23 +01:00
|
|
|
# Packager: James Mills, prologic at shortcircuit dot net dot au
|
|
|
|
# Depends on: linux-pam
|
2007-06-24 20:44:07 +02:00
|
|
|
|
|
|
|
name=vmware-server
|
2008-03-17 22:24:23 +01:00
|
|
|
version=1.0.5-80187
|
|
|
|
release=1
|
2007-06-24 20:44:07 +02:00
|
|
|
source=(http://download3.vmware.com/software/vmserver/VMware-server-$version.tar.gz
|
2008-03-17 22:24:23 +01:00
|
|
|
locations vmware.rc
|
|
|
|
vmware-any-any-update110.tar.gz)
|
2007-06-24 20:44:07 +02:00
|
|
|
|
|
|
|
build() {
|
2008-03-17 22:24:23 +01:00
|
|
|
cd $name-distrib
|
2007-06-24 20:44:07 +02:00
|
|
|
|
2008-03-17 22:24:23 +01:00
|
|
|
mkdir -p $PKG/etc/{vmware/init.d,rc.d,pam.d}
|
|
|
|
mkdir -p $PKG/usr/{bin,sbin,lib/vmware,share/vmware/}
|
2007-06-24 20:44:07 +02:00
|
|
|
|
2008-03-17 22:24:23 +01:00
|
|
|
cp -r etc/* $PKG/etc/vmware/
|
|
|
|
sed -i -e "s/_TS_/`date +%s`/g" $SRC/locations
|
2007-06-24 20:44:07 +02:00
|
|
|
|
|
|
|
install -m 755 $SRC/vmware.rc $PKG/etc/rc.d/vmware
|
|
|
|
|
|
|
|
mkdir $PKG/etc/vmware/init.d/{rc0.d,rc1.d,rc2.d,rc3.d,rc4.d,rc5.d,rc6.d}
|
|
|
|
cp -a installer/services.sh $PKG/etc/vmware/init.d/vmware
|
|
|
|
|
2008-03-17 22:24:23 +01:00
|
|
|
cp $SRC/locations $PKG/etc/vmware/
|
|
|
|
cp -r bin $PKG/usr/
|
|
|
|
cp -r sbin $PKG/usr/
|
|
|
|
cp -r lib/* $PKG/usr/lib/vmware/
|
|
|
|
cp -r doc $PKG/usr/share/vmware/
|
|
|
|
|
|
|
|
rm $PKG/usr/share/vmware/doc/README
|
|
|
|
rm $PKG/usr/lib/vmware/perl5/site_perl/5.005/i386-linux/XML/Parser/Encodings/README
|
2007-06-24 20:44:07 +02:00
|
|
|
|
2008-03-17 22:24:23 +01:00
|
|
|
chown -R root:root $PKG
|
2007-06-24 20:44:07 +02:00
|
|
|
}
|