# Distributed under the terms of the GNU General Public License v2 # Copyright 2018 Gluzskiy Alexandr require github [ user=eranif force_git_clone=true ] 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_install MYOPTIONS=" clang [[ description = [ Use clang for codecompletion ] ]] flex [[ description = [ Add support for sys-devel/flex ] ]] pch [[ description = [ Use precompilled headers during build (speedup build a lot on single machine, may cause problems with distcc/icecc) ] ]] ssh [[ description = [ Support ssh in scm modules via libssh ] ]] webview [[ description = [ Use webview in wxGTK ] ]] " DEPENDENCIES=" build+run: dev-db/sqlite:3 x11-libs/wxGTK[>=3] clang? ( dev-lang/clang ) flex? ( sys-devel/flex ) ssh? ( net-libs/libssh ) webview? ( x11-libs/wxGTK[webkit] ) " CMAKE_SRC_CONFIGURE_OPTION_ENABLES=( "clang CLANG" "ssh SFTP" ) CMAKE_SRC_CONFIGURE_OPTION_WITHS=( "flex FLEX" "pch PCH" "webview WEBVIEW" ) codelite_src_install() { cmake_src_install cd "${IMAGE}"/usr edo mkdir $(exhost --target) edo mv bin $(exhost --target)/ edo mv lib $(exhost --target)/ }