]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/build-linux
7a632ae24cff880f81e2fe8748805716bdd62d11
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 of the build dir. The src RPMs will be here when we start
9 # and the binary RPMs will be left here when we're done.
10 # 2. skipclean flag (yes|no)
12 # 4. 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..."
32 # Since this is probably a VMWare guest, make sure that the date and
34 ntpdate gate.alldunn.com
40 echo "Building the RPMs for Python $ver..."
41 myrpmbuild
--rebuild wxPythonGTK
-py$ver-$VERSION-1.src.rpm
42 myrpmbuild
--rebuild wxPythonGTK2
-py$ver-$VERSION-1.src.rpm
46 #echo "Copying RPMs to $DESTDIR..."
47 #cp wxPythonGTK*.i[0-9]86.rpm $DESTDIR
51 if [ $SKIPCLEAN != yes ]; then
54 rm wxPythonGTK
-py$ver-$VERSION-1.src.rpm
58 echo "-=-=-=- Goodbye! -=-=-=-"