#!/bin/sh
# @function install htmlcxx
function InstallHtmlCXX()
{
    ShowResult "[green]正在安装HtmlCXX库... [/green]" 1
    
    # install htmlcxx
    eval cd ${_PATH_COMPILATION_} ${_SYS_SHOW_INSTALL_DETAILS_}
    eval rm -rf ./htmlcxx-* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval tar zxvf ${_PATH_SOFTWARE_}/htmlcxx-* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval cd htmlcxx-* ${_SYS_SHOW_INSTALL_DETAILS_}
    eval ./configure LIBS=-liconv ${_SYS_SHOW_INSTALL_DETAILS_}
    eval make ${_SYS_MAKE_EXT_} ${_SYS_SHOW_INSTALL_DETAILS_}
    eval make install ${_SYS_SHOW_INSTALL_DETAILS_}
    ldconfig
    
    ShowStatus $?
}
