39 lines
821 B
Bash
39 lines
821 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=4
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="Cross platform IDE for the C/C++ programming languages"
|
|
HOMEPAGE="http://www.codelite.org/"
|
|
SRC_URI="mirror://sourceforge/${PN}/${P}-gtk.src.tar.gz"
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="-* ~amd64 ~x86"
|
|
IUSE="debug mysql pch postgres"
|
|
|
|
DEPEND="debug? ( x11-libs/wxGTK:2.8[debug] )
|
|
mysql? ( virtual/mysql )
|
|
postgres? ( dev-db/postgresql-base )"
|
|
RDEPEND="x11-libs/wxGTK:2.8[X]"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}/${P}_configure.patch"
|
|
}
|
|
|
|
|
|
src_configure() {
|
|
econf --without-clang \
|
|
$(use_enable debug) \
|
|
$(use_enable mysql) \
|
|
$(use_enable pch) \
|
|
$(use_enable postgres)
|
|
}
|
|
|
|
src_install() {
|
|
emake -j1 DESTDIR="${D}" install || die "emake install failed"
|
|
}
|