summaryrefslogtreecommitdiff
path: root/packages/dev-util/codelite
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-06-28 00:15:06 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-06-28 00:15:06 +0300
commit94def6ac0a15b36c6cc4efe07026ea33e3fc4667 (patch)
tree202b8539c09257e2bb5b96a3970fa96389e7b3fb /packages/dev-util/codelite
parentdc9b5d6ff2a814d18874351709f14d5011c55534 (diff)
codelite added
Diffstat (limited to 'packages/dev-util/codelite')
-rw-r--r--packages/dev-util/codelite/codelite-scm.exheres-048
1 files changed, 48 insertions, 0 deletions
diff --git a/packages/dev-util/codelite/codelite-scm.exheres-0 b/packages/dev-util/codelite/codelite-scm.exheres-0
new file mode 100644
index 0000000..32daacf
--- /dev/null
+++ b/packages/dev-util/codelite/codelite-scm.exheres-0
@@ -0,0 +1,48 @@
+# 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)/
+}