Created
November 25, 2009 19:43
-
-
Save maluta/242972 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Download, Compile and Install | |
_wget=`which wget` | |
_mkdir=`which mkdir` | |
$_mkdir translate | |
cd translate | |
$_wget http://github.com/maluta/junk/raw/master/translate.pro | |
$_wget http://github.com/maluta/junk/raw/master/translate.h | |
$_wget http://github.com/maluta/junk/raw/master/translate.cpp | |
_qmake=`which qmake 2> /dev/null` | |
if [ "$_qmake" = "" ] | |
then | |
_qmake=`which qmake-qt4 2> /dev/null` | |
fi | |
$_qmake translate.pro | |
_make=`which make 2> /dev/null` | |
$_make | |
echo "" | |
# and run... | |
./translate | |
echo "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment