9
smalltalkImage="PharoCore-1.3"
13
vmPath="`pwd`/VMs/xo/$vm/"
14
vmExec="`pwd`/VMs/linux-mac-windows/vm-2010-07-13/DrGeo.app/Contents/Linux-i686/bin/squeak"
16
smalltalkImagePath="`pwd`/images/$smalltalkImage.image"
17
installScript="`pwd`/images/install-drgeo4sugar-clean.st"
19
# Install packages, configure and clean up the image
20
$vmExec $smalltalkImagePath file://$installScript
25
# install Activity structure
26
rsync -a --exclude '.svn *~' `pwd`/sugar-bundle/DrGeoII.activity $install
27
cp `pwd`/doc/ChangeLog $install/DrGeoII.activity/
28
chmod +x $install/DrGeoII.activity/bin/DrGeoII.sh
29
# install Example files
30
rsync -a --exclude '.svn' --exclude '*~' `pwd`/examples $install/DrGeoII.activity/drgeo
32
rsync -a --exclude '.svn' --exclude '*~' $vmPath $install/DrGeoII.activity/vm
33
# install Smalltalk Image
34
rsync -a images/drgeo.image $install/DrGeoII.activity/drgeo
36
rsync -a --exclude '.svn' --exclude '*~' i18n/locale $install/DrGeoII.activity/drgeo
39
zip -r DrGeoII-$rel.xo DrGeoII.activity -x \*/.svn/* \*~
41
echo "--== DONE packaging XO bundle==--"