# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/guiloader-c++/guiloader-c++-2.99.0.ebuild,v 1.1 2011/07/23 12:35:16 pva Exp $ EAPI="4" DESCRIPTION="C++ binding to GuiLoader library" HOMEPAGE="http://www.crowdesigner.org" SRC_URI="http://nothing-personal.googlecode.com/files/${P}.tar.xz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="nls" LANGS="ru" RDEPEND=">=dev-libs/guiloader-2.99 dev-cpp/gtkmm:3.0 >=dev-cpp/glibmm-2.28:2" DEPEND="${RDEPEND} dev-libs/boost dev-util/pkgconfig nls? ( >=sys-devel/gettext-0.18 )" for x in ${LANGS}; do IUSE="${IUSE} linguas_${x}" done src_configure() { econf \ --disable-static \ $(use_enable nls) } src_install() { emake DESTDIR="${D}" install dodoc doc/{authors.txt,news.en.txt,readme.en.txt} find "${ED}" -name '*.la' -exec rm -f {} + }