From 5e351f4ee85102acc1fca033f6ba86ff7fe3705a Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Wed, 11 Jul 2018 19:21:19 +0300 Subject: moved edited exherbo packages to separate repo "git://sss.chaoslab.ru/exherbo-edits-repo.git" added latest codelite stable tag release as git-master failing to build --- packages/dev-util/codelite/codelite.exlib | 50 +++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 packages/dev-util/codelite/codelite.exlib (limited to 'packages/dev-util/codelite/codelite.exlib') diff --git a/packages/dev-util/codelite/codelite.exlib b/packages/dev-util/codelite/codelite.exlib new file mode 100644 index 0000000..59e807b --- /dev/null +++ b/packages/dev-util/codelite/codelite.exlib @@ -0,0 +1,50 @@ +# 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)/ +} -- cgit v1.2.3