summaryrefslogtreecommitdiff
path: root/packages/dev-util/codelite/codelite.exlib
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-10-17 22:25:12 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2018-10-17 22:25:12 +0300
commit2e448675bebada3074e96460d41312d6309487aa (patch)
tree004ce71568d81d76201bd50e7885b41fc48967f0 /packages/dev-util/codelite/codelite.exlib
parentccc9e5e5f630916439fe640d5b313070cef936d0 (diff)
codelite: used custom CL_PREFIX cmake option for prefix
Diffstat (limited to 'packages/dev-util/codelite/codelite.exlib')
-rw-r--r--packages/dev-util/codelite/codelite.exlib14
1 files changed, 3 insertions, 11 deletions
diff --git a/packages/dev-util/codelite/codelite.exlib b/packages/dev-util/codelite/codelite.exlib
index 752dbb7..f1f8ebf 100644
--- a/packages/dev-util/codelite/codelite.exlib
+++ b/packages/dev-util/codelite/codelite.exlib
@@ -11,9 +11,6 @@ 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 ] ]]
@@ -32,7 +29,6 @@ DEPENDENCIES="
webview? ( x11-libs/wxGTK[webkit] )
"
-
CMAKE_SRC_CONFIGURE_OPTION_ENABLES=(
"clang CLANG"
"ssh SFTP"
@@ -44,11 +40,7 @@ CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
"webview WEBVIEW"
)
+CMAKE_SRC_CONFIGURE_PARAMS=(
+ -DCL_PREFIX=/usr/$(exhost --target)
+)
-codelite_src_install() {
- cmake_src_install
- cd "${IMAGE}"/usr
- edo mkdir $(exhost --target)
- edo mv bin $(exhost --target)/
- edo mv lib $(exhost --target)/
-}