#!/bin/sh
# @function install lib-iconv liberary
function InstallLibIconv()
{
    ShowResult "[green]正在安装LibIconv... [/green]" 1
    
    # install
    eval cd ${_PATH_COMPILATION_} ${_SYS_SHOW_INSTALL_DETAILS_}
    eval rm -rf ./libiconv* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval tar zxvf ${_PATH_SOFTWARE_}/libiconv* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval cd libiconv* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval ./configure --prefix=/usr/local ${_SYS_SHOW_INSTALL_DETAILS_}
    eval make ${_SYS_MAKE_EXT_} ${_SYS_SHOW_INSTALL_DETAILS_}
    eval make install ${_SYS_SHOW_INSTALL_DETAILS_}
    
    ShowStatus $?
}