#!/bin/bash
#===============================================================================
#
#          FILE:  s60make.sh
# 
#         USAGE:  ./s60make.sh 
# 
#   DESCRIPTION:  Does all the steps to build a S60 app project
#                 Just uses a self signed certificate
#       OPTIONS:  ---
#  REQUIREMENTS:  ---
#          BUGS:  ---
#         NOTES:  ---
#        AUTHOR:  John Ryland (jryland@xiaofrog.com)
#       COMPANY:  InvertedLogic
#       VERSION:  1.0
#       CREATED:  07/05/08 22:41:18 CST
#      REVISION:  ---
#===============================================================================
export EPOCROOT=~/opt/symbian-sdks/s60_32/
export PATH=~/opt/symbian-eka2/bin/:$EPOCROOT/epoc32/tools:$PATH
cd group
bldmake bldfiles
abld build gcce urel
cd ../sis
makesis *_gcce.pkg test.sis
# makekeys -cert -expdays 3650 -password mykey.key mycert.cer
signsis test.sis test.sisx
/Applications/Utilities/Bluetooth\ File\ Exchange.app/Contents/MacOS/Bluetooth\ File\ Exchange ./test.sisx
cd ..

