From e52005298c8c0c4a4cb81bb9bb7093db2495c497 Mon Sep 17 00:00:00 2001 From: Gilles Dartiguelongue Date: Sun, 26 Jul 2009 10:38:43 +0000 Subject: Do not build test programs unless needed, bug #226257. (Portage version: 2.2_rc33/cvs/Linux x86_64) --- .../startup-notification-0.10.ebuild | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'x11-libs/startup-notification/startup-notification-0.10.ebuild') diff --git a/x11-libs/startup-notification/startup-notification-0.10.ebuild b/x11-libs/startup-notification/startup-notification-0.10.ebuild index d94ca8768053..d54d6799ba98 100644 --- a/x11-libs/startup-notification/startup-notification-0.10.ebuild +++ b/x11-libs/startup-notification/startup-notification-0.10.ebuild @@ -1,6 +1,11 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/startup-notification/startup-notification-0.10.ebuild,v 1.1 2009/04/25 03:19:03 dang Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/startup-notification/startup-notification-0.10.ebuild,v 1.2 2009/07/26 10:38:43 eva Exp $ + +EAPI="2" +WANT_AUTOMAKE="1.10" + +inherit autotools DESCRIPTION="Application startup notification and feedback library" HOMEPAGE="http://www.freedesktop.org/software/startup-notification" @@ -21,7 +26,18 @@ DEPEND="${RDEPEND} x11-proto/xproto x11-libs/libXt" +src_prepare() { + # Do not build tests unless required + epatch "${FILESDIR}/${P}-tests.patch" + + eautomake +} + +src_configure() { + econf --disable-static +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed." - dodoc AUTHORS ChangeLog NEWS README doc/startup-notification.txt + dodoc AUTHORS ChangeLog NEWS README doc/startup-notification.txt || die "dodoc failed" } -- cgit v1.2.3-65-gdbad