]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-osx
2 # ---------------------------------------------------------------------------
3 # Build wxWidgets and wxPython on a OSX box. This is normally
4 # called from build-all but it should be able to be used standalone too...
6 # The command line must have the following parameters:
8 # 1. the path to the base of the wx source tree
9 # 2. the path of where to put the resulting installers
10 # 3. skipclean flag (yes|no)
12 # 5. the FLAVOR (panther or jaguar)
13 # *. the remaining args are the versions of Python to build for
15 # ---------------------------------------------------------------------------
20 echo "-=-=-=- Hello from $HOSTNAME -=-=-=-"
23 echo "Usage: $0 WXDIR DESTDIR SKIPCLEAN VERSION FLAVOR PYVER..."
32 shift;shift;shift;shift;shift
36 export PATH
=/sw
/bin
:/usr
/local
/bin
:$PATH
40 echo "Unarchiving wxPythonSrc-$VERSION.tar.gz"
42 tar xzf wxPythonSrc
-$VERSION.
tar.gz
43 rm wxPythonSrc
-$VERSION.
tar.gz
46 echo "Invoking wxPythonOSX build script..."
48 export TARBALLDIR
=$DESTDIR
50 distrib
/mac
/wxPythonOSX
/build
$FLAVOR inplace skipclean
53 echo "Copying installers to $DESTDIR..."
54 cp dist
/*.dmg
$DESTDIR
58 if [ $SKIPCLEAN != yes ]; then
61 rm wxPythonDocs
-$VERSION.
tar.gz
62 rm wxPythonDemo
-$VERSION.
tar.gz
65 echo "-=-=-=- Goodbye! -=-=-=-"