# 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" require cmake [ api=2 ] DOWNLOADS="" PLATFORMS="~amd64 ~x86" MYOPTIONS=" clang flex pch sftp webview " DEPENDENCIES=" build+run: x11-libs/wxGTK[>=3] net-libs/libssh dev-db/sqlite " 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[@]}" } src_install() { cmake_src_install cd "${IMAGE}"/usr mkdir $(exhost --target) edo mv bin $(exhost --target)/ edo mv lib $(exhost --target)/ }