6ca744908a
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
32 lines
648 B
Bash
Executable File
32 lines
648 B
Bash
Executable File
#!/bin/bash
|
|
# ---------------------------------------------------------------------------
|
|
|
|
set -o errexit
|
|
#set -o xtrace
|
|
|
|
echo "-=-=-=- Hello from $HOSTNAME -=-=-=-"
|
|
|
|
VERSION=$1
|
|
VER2=$2
|
|
|
|
|
|
tar xjf wxPython-src-$VERSION.tar.bz2
|
|
rm wxPython-src-$VERSION.tar.bz2
|
|
|
|
mv wxPython-src-$VERSION wxwidgets$VER2-$VERSION
|
|
cd wxwidgets$VER2-$VERSION
|
|
|
|
CLVERSION=`dpkg-parsechangelog | sed -n 's/Version: //p' | sed 's/-.*//'`
|
|
if [ $CLVERSION != $VERSION ]; then
|
|
dch --newversion $VERSION-0 "automated build"
|
|
fi
|
|
|
|
debian/rules debian/control
|
|
dpkg-buildpackage -rfakeroot -us -uc
|
|
|
|
cd ..
|
|
rm -r wxwidgets$VER2-$VERSION
|
|
|
|
echo "-=-=-=- Goodbye! -=-=-=-"
|
|
exit 0
|