#!/bin/sh
# @function install parallel
function InstallParallel()
{
    ShowResult "[green]正在安装Parallel... [/green]" 1
    
    # install
    eval cd ${_PATH_COMPILATION_} ${_SYS_SHOW_INSTALL_DETAILS_}
    eval rm -rf ./parallel-* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval tar zxvf ${_PATH_SOFTWARE_}/parallel-* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval cd parallel-* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval ./configure ${_SYS_SHOW_INSTALL_DETAILS_}
    eval make ${_SYS_MAKE_EXT_} ${_SYS_SHOW_INSTALL_DETAILS_}
    eval make install ${_SYS_SHOW_INSTALL_DETAILS_}
    eval ln -s /usr/local/bin/parallel /usr/bin/ ${_SYS_SHOW_INSTALL_DETAILS_}
    eval ldconfig ${_SYS_SHOW_INSTALL_DETAILS_}
    
    ShowStatus $?
}