summaryrefslogtreecommitdiff
path: root/packages/dev-util/codelite/codelite.exlib
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-11 19:21:19 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-07-11 19:21:19 +0300
commit5e351f4ee85102acc1fca033f6ba86ff7fe3705a (patch)
tree173aea419b3c754421c3ae7c00a3dd3f08bfc3de /packages/dev-util/codelite/codelite.exlib
parentbb21f1eb84acdf92d5eb628db9fc80f25e2cc4fe (diff)
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
Diffstat (limited to 'packages/dev-util/codelite/codelite.exlib')
-rw-r--r--packages/dev-util/codelite/codelite.exlib50
1 files changed, 50 insertions, 0 deletions
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)/
+}