5 echo "Usage: `basename $0` plugin_name component_type component_subtype
6 plugin_name is the name of your synthdef file minus the extension, ie plugin_name.scsyndef is your synth definition file.
7 component_subtype must be a four chars code, like PLUG. It sould be unique in your system within all SCAU generated plugins"
11 sed -e "s/@@NAME@@/$1/" -e "s/@@COMP_TYPE@@/$2/" -e "s/@@COMP_SUBTYPE@@/$3/" SuperColliderAU.r
>tmp.r
12 cp -R SuperColliderAU.component
/ $1.component
/
13 mkdir
-p $1.component
/Contents
/Resources
/synthdefs
14 cp pluginSpec.plist
$1.component
/Contents
/Resources
/
15 cp serverConfig.plist
$1.component
/Contents
/Resources
/
16 cp $1.scsyndef
$1.component
/Contents
/Resources
/synthdefs
17 /Developer
/Tools
/Rez
-d i386_YES
-d ppc_YES
-o $1.component
/Contents
/Resources
/SuperColliderAU.rsrc
-useDF \
18 -I /System
/Library
/Frameworks
/CoreServices.framework
/Frameworks
/CarbonCore.framework
/Versions
/A
/Headers \
19 -I /Developer
/Examples
/CoreAudio
/AudioUnits
/AUPublic
/AUBase tmp.r