Added scripts to build debian packages

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-11-28 23:24:06 +00:00
parent 709d7afa23
commit 670717736f
6 changed files with 106 additions and 11 deletions

View File

@@ -0,0 +1,31 @@
#!/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