#!/bin/sh
# @function install scons
function InstallScons()
{
    ShowResult "[green]正在安装scons... [/green]" 1
    
    # install scrons
    eval cd ${_PATH_COMPILATION_} ${_SYS_SHOW_INSTALL_DETAILS_}
    eval rm -rf ./scons-2.* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval tar zxvf ${_PATH_SOFTWARE_}/scons-2.* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval cd scons-2.* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval python setup.py install ${_SYS_SHOW_INSTALL_DETAILS_}
    
    ShowStatus $?
}