# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/dee/dee-1.0.10.ebuild,v 1.4 2012/08/13 20:01:20 jlec Exp $ EAPI=4 AUTOTOOLS_AUTORECONF=y inherit autotools-utils DESCRIPTION="Provide objects allowing to create Model-View-Controller type programs across DBus" HOMEPAGE="https://launchpad.net/dee/" SRC_URI="https://launchpad.net/dee/1.0/${PV}/+download/${P}.tar.gz" SLOT="0" LICENSE="GPL-3" KEYWORDS="~amd64 ~x86" IUSE="doc debug examples +icu static-libs test" RDEPEND=" dev-libs/glib:2 dev-libs/icu" DEPEND="${RDEPEND} dev-util/gtk-doc test? ( dev-util/dbus-test-runner )" PATCHES=( "${FILESDIR}"/${P}-gcc-4.5.patch "${FILESDIR}"/${P}-vapigen.patch ) src_prepare() { sed \ -e '/GCC_FLAGS/s:-g::' \ -e 's:vapigen:vapigen-0.14:g' \ -i configure{,.ac} || die autotools-utils_src_prepare } src_configure() { local myeconfargs=( $(use_enable debug trace-log) $(use_enable test tests) $(use_enable icu) $(use_enable doc gtk-doc) ) autotools-utils_src_configure } src_install() { autotools-utils_src_install if use examples; then insinto /usr/share/doc/${PN}/ doins -r examples fi }