Salome HOME
Add the shell command
[tools/sat.git] / data / compil_scripts / PyQt.sh
1 #!/bin/bash
2
3 echo "##########################################################################"
4 echo "PyQt" $VERSION
5 echo "##########################################################################"
6
7 rm -Rf $PRODUCT_INSTALL
8
9 python_name=python$PYTHON_VERSION
10
11 echo
12 echo "*** configure"
13 python $SOURCE_DIR/configure.py --confirm-license --no-designer-plugin \
14     --bindir=${PRODUCT_INSTALL}/bin \
15     --destdir=${PRODUCT_INSTALL}/lib/$python_name/site-packages \
16     --sipdir=${PRODUCT_INSTALL}/sip \
17     --plugin-destdir=${PRODUCT_INSTALL}/qt 2>&1
18 if [ $? -ne 0 ]
19 then
20     echo "ERROR on configure"
21     exit 1
22 fi
23
24 echo
25 echo "*** make" $MAKE_OPTIONS
26 make $MAKE_OPTIONS
27 if [ $? -ne 0 ]
28 then
29     echo "ERROR on make"
30     exit 2
31 fi
32
33 echo
34 echo "*** make install"
35 make install
36 if [ $? -ne 0 ]
37 then
38     echo "ERROR on make install"
39     exit 3
40 fi
41
42
43 echo
44 echo "########## END"
45