Mercurial > hg > octave-nkf
changeset 14262:605675153f1d gui
Added similar script to retrieve libqirc.
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Tue, 24 Jan 2012 20:02:09 +0100 |
parents | d19e3954c315 |
children | 6e6194a7b102 |
files | gui/get-qirc.sh gui/get-qterminal.sh |
diffstat | 2 files changed, 23 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
new file mode 100755 --- /dev/null +++ b/gui/get-qirc.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +qirc_dir="qirc"; +echo "Updating qirc.."; + +# Check whether we have already cloned the repository: +if [ -d $qirc_dir ]; then + # Yes, so just pull any changes and rebuild. + cd qirc + git pull + qmake-qt4 qirc.pro + cd .. +else + # No, clone the repository, checkout the stable branch + # and build it. + git clone https://code.google.com/p/qirc/ + git checkout master + cd qirc + qmake-qt4 qirc.pro + make + cd .. +fi