summaryrefslogtreecommitdiff
path: root/dev-util/codelite/codelite-scm.ebuild
blob: 5bec0be51ebc8965388333f7ca3b1b3b6ccbed92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="6"

WX_GTK_VER="3.0"

inherit cmake-utils git-r3 wxwidgets

DESCRIPTION="A Free, open source, cross platform C,C++,PHP and Node.js IDE"
HOMEPAGE="http://www.codelite.org"
EGIT_REPO_URI="git://github.com/eranif/${PN}.git"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="clang flex pch sftp webview"

DEPEND="
	dev-db/sqlite:*
	net-libs/libssh
	x11-libs/wxGTK:3.0
"

RDEPEND="${DEPEND}"


src_configure() {
	local mycmakeargs=(
		-DENABLE_CLANG=$(usex clang)
		-DWITH_FLEX=$(usex flex)
		-DWITH_PCH=$(usex pch)
		-DENABLE_SFTP=$(usex sftp)
		-DWITH_WEBVIEW=$(usex webview)
	)
	cmake-utils_src_configure
}