]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-linux
2 # ---------------------------------------------------------------------------
3 # Build the wxPython source RPMs on a Linux box. This is normally called
4 # 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 RPMs
10 # 3. skipclean flag (yes|no)
12 # 5. the remaining args are the versions of Python to build for
14 # ---------------------------------------------------------------------------
19 echo "-=-=-=- Hello from $HOSTNAME -=-=-=-"
22 echo "Usage: $0 WXDIR DESTDIR SKIPCLEAN VERSION PYVER..."
30 shift;shift;shift;shift
33 # Since this is probably a VMWare guest, make sure that the date and
35 ntpdate gate.alldunn.com
38 # In this case $WXDIR is where we will build at, but the source tree
39 # won't be there like the other builds. The source RPMs will be in
40 # $DESTDIR, and we'll put the binary RPMs back there when done.
42 echo "Preparing $WXDIR..."
48 echo "Building the RPMs for Python $ver..."
49 myrpmbuild
--rebuild $DESTDIR/wxPythonGTK
-py$ver-$VERSION-1.src.rpm
50 myrpmbuild
--rebuild $DESTDIR/wxPythonGTK2
-py$ver-$VERSION-1.src.rpm
54 echo "Copying RPMs to $DESTDIR..."
55 cp wxPythonGTK
*.i
[0-9]86.rpm
$DESTDIR
59 if [ $SKIPCLEAN != yes ]; then
64 echo "-=-=-=- Goodbye! -=-=-=-"