first stab at forward porting deb build changes. There is probably more still to do...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-12-13 23:05:55 +00:00
parent c53c7fad2e
commit 8bf4f38300
7 changed files with 241 additions and 148 deletions

View File

@@ -2,15 +2,20 @@
set -e
WXPYTHONDIR="/=WXPYDIR"
WXPYTHONDIR="=WXPYDIR"
PYVERS="=PYVERS"
if [ "$1" = "configure" ]; then
=PY /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
=PY -O /usr/lib/=PY/compileall.py -q ${WXPYTHONDIR}
for PY in $PYVERS; do
$PY /usr/lib/$PY/compileall.py -q /usr/lib/$PY/site-pacakges/${WXPYTHONDIR}
$PY -O /usr/lib/$PY/compileall.py -q /usr/lib/$PY/site-pacakges/${WXPYTHONDIR}
done
fi
update-alternatives --install /usr/lib/=PY/site-packages/wx.pth wx.pth \
/usr/lib/wx/python/wx=V-dbg.pth $(( =PRIO - 10 ))
for PY in $PYVERS; do
update-alternatives --install /usr/lib/$PY/site-packages/wx.pth wx.pth \
/usr/lib/wx/$PY/wx=V-dbg.pth $(( =PRIO - 10 ))
done
#DEBHELPER#