#!/bin/sh
# @function install mcrypt
function InstallMcrypt()
{
    ShowResult "[green]正在安装Mcrypt... [/green]" 1
    
    # install
    eval cd ${_PATH_COMPILATION_} ${_SYS_SHOW_INSTALL_DETAILS_}
    eval rm -rf ./mcrypt-* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval tar zxvf ${_PATH_SOFTWARE_}/mcrypt-* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval cd mcrypt-* ${_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_}
    
    ShowStatus $?
}