# Distributed under the terms of the GNU General Public License v2 SCM_REPOSITORY="git://github.com/eranif/codelite.git" require scm-git HOMEPAGE="http://www.codelite.org" SUMMARY="A Free, open source, cross platform C,C++,PHP and Node.js IDE" DESCRIPTION="" SLOT="0" LICENCES="GPL-2" require cmake [ api=2 ] export_exlib_phases src_configure src_install DOWNLOADS="" MYOPTIONS=" clang flex pch sftp webview " DEPENDENCIES=" build+run: x11-libs/wxGTK[>=3] net-libs/libssh dev-db/sqlite " codelite_src_configure() { local cmakeparams=() cmakeparams+=( $(cmake_enable clang CLANG) $(cmake_with flex FLEX) $(cmake_with pch PCH) $(cmake_enable sftp SFTP) $(cmake_with webview WEBVIEW) ) ecmake "${cmakeparams[@]}" } codelite_src_install() { cmake_src_install cd "${IMAGE}"/usr mkdir $(exhost --target) edo mv bin $(exhost --target)/ edo mv lib $(exhost --target)/ }