9
smalltalkImage="PharoCore-1.3"
11
doc="/home/hilaire/Travaux/these/inria-istoa/istoa/drgeo2/doc/fr/drgeo-html-fr.tgz"
14
vmPath="`pwd`/VMs/linux-mac-windows/$vm/DrGeo.app"
15
vmExec="$vmPath/Contents/Linux-i686/bin/squeak"
17
smalltalkImagePath="`pwd`/images/$smalltalkImage.image"
18
installScript="`pwd`/images/install-drgeo-clean.st"
20
# Install package and clean up image
21
$vmExec $smalltalkImagePath $installScript
29
rsync -a --exclude '.svn' --exclude '*~' $vmPath $install
30
cp `pwd`/doc/ChangeLog $install/DrGeo.app/
31
# install Example files
32
rsync -a --exclude '.svn' --exclude '*~' `pwd`/examples $install/DrGeo.app
33
# user sketches and exports folder
34
mkdir $install/DrGeo.app/MySketches
35
mkdir $install/DrGeo.app/MyExports
36
# install Smalltalk Image
37
rsync -a images/drgeo.image $install/DrGeo.app/Contents/Resources
38
rsync -a images/drgeo.changes $install/DrGeo.app/Contents/Resources
39
# install Smalltalk Source
40
rsync -a images/PharoV10.sources $install/DrGeo.app/Contents/Resources
42
rsync -a --exclude '.svn' --exclude '*~' i18n/locale $install/DrGeo.app/Contents/Resources
44
mkdir $install/DrGeo.app/doc
45
tar xfz $doc -C $install/DrGeo.app/doc
48
zip -r DrGeo.app-$rel.zip DrGeo.app -x \*/.svn/* \*~
50
echo "--== DONE packaging unversal DrGeo==--"