# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=4 inherit toolchain-funcs eutils DESCRIPTION="An opensource, cross platform IDE for C/C++" HOMEPAGE="http://codelite.org/" SRC_URI="mirror://sourceforge/${PN}/Releases/${PN}-4.1/${P}-gtk.src.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="mysql postgres debug pch clang" RDEPEND="x11-libs/wxGTK:2.8[X]" DEPEND="" src_configure() { econf \ $(use_enable clang) \ $(use_enable debug) \ $(use_enable mysql) \ $(use_enable pch) \ $(use_enable postgres) } src_install() { emake install DESTDIR="${D}" INSTALLDIR="${D}"/usr/$(get_libdir) \ || die "emake install failed" # manually install main application dobin Runtime/codelite dodoc AUTHORS COPYING LICENSE TODO.TXT }