# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-libs/gtx/gtx-0.2.2.ebuild,v 1.7 2013/02/02 22:25:10 ago Exp $ EAPI=5 AUTOTOOLS_AUTORECONF=yes inherit autotools-utils DESCRIPTION="Small collection of convenience functions intended to enhance the GLib testing framework" HOMEPAGE="https://launchpad.net/gtx" SRC_URI="https://launchpad.net/gtx/trunk/${PV}/+download/${P}.tar.gz" SLOT="0" LICENSE="LGPL-2.1" KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="debug doc static-libs" RDEPEND="dev-libs/glib:2" DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-docdir.patch "${FILESDIR}"/${P}-debug.patch "${FILESDIR}"/${P}-glib.h.patch ) src_configure() { local myeconfargs=( $(use_enable debug) ) autotools-utils_src_configure }