diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 01:04:17 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 01:04:17 +0000 |
commit | c3b707c026782768bd8c0e6ae6b574fe8a36802d (patch) | |
tree | 5ca6782031b1546c788290cc0b95524369ff01ea /check_svn_build.sh | |
download | kmyfirewall-c3b707c026782768bd8c0e6ae6b574fe8a36802d.tar.gz kmyfirewall-c3b707c026782768bd8c0e6ae6b574fe8a36802d.zip |
Added old abandoned KDE3 version of kmyfirewall
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmyfirewall@1091559 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'check_svn_build.sh')
-rwxr-xr-x | check_svn_build.sh | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/check_svn_build.sh b/check_svn_build.sh new file mode 100755 index 0000000..ac69bf3 --- /dev/null +++ b/check_svn_build.sh @@ -0,0 +1,75 @@ +#!/bin/bash + + +clean() { + echo -n "Delete old build..." + rm -rf $BUILDDIR + echo "Done." + + echo -n "Create $BUILDDIR..." + mkdir $BUILDDIR + echo "Done." +} + +checkout() { + echo "Do SVN checkout from $SVNURL..." + svn co $SVNURL + echo "Done." + +} + +linkadmin() { + echo -n "Link admin dir...$ADMIN" + ln -s $ADMIN . + echo "Done." +} + + +cleanbuild() { + echo "Make Clean..." + $MAKE clean + echo "Done." +} + +build() { + echo "Start build..." + $MAKE -f admin/Makefile.common && \ + ./configure $CONFIG_OPTIONS && \ + time $MAKE $MAKE_ARGS + echo "Done." +} + +BUILDDIR="../check_svn_build_buildDir" +MAKE="unsermake" +MAKE_ARGS="-j3" +CONFIG_OPTIONS="--prefix=/usr --enable-debug=no " +SVNURL="https://svn.kde.org/home/kde/branches/extragear/kde3/network/kmyfirewall/" +ADMIN="../../kde-common/admin/" + +echo "Usage: check_svn_config.sh" + +clean +cd $BUILDDIR +checkout +cd kmyfirewall/ +linkadmin +cleanbuild +build + + + + + + + + + + + + + + + + + + |