]> git.saurik.com Git - wxWidgets.git/blob - wxPython/distrib/all/do-build-deb
get rid of one of the extra slashes in the download URLs
[wxWidgets.git] / wxPython / distrib / all / do-build-deb
1 #!/bin/bash
2 # ---------------------------------------------------------------------------
3
4 set -o errexit
5 #set -o xtrace
6
7 echo "-=-=-=- Hello from $HOSTNAME -=-=-=-"
8
9 VERSION=$1
10 VER2=$2
11
12
13 tar xjf wxPython-src-$VERSION.tar.bz2
14 rm wxPython-src-$VERSION.tar.bz2
15
16 mv wxPython-src-$VERSION wxwidgets$VER2-$VERSION
17 cd wxwidgets$VER2-$VERSION
18
19 CLVERSION=`dpkg-parsechangelog | sed -n 's/Version: //p' | sed 's/-.*//'`
20 if [ $CLVERSION != $VERSION ]; then
21 dch --newversion $VERSION-0 "automated build"
22 fi
23
24 debian/rules debian/control
25 dpkg-buildpackage -rfakeroot -us -uc
26
27 cd ..
28 rm -r wxwidgets$VER2-$VERSION
29
30 echo "-=-=-=- Goodbye! -=-=-=-"
31 exit 0