summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-07-26 10:38:43 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-07-26 10:38:43 +0000
commite52005298c8c0c4a4cb81bb9bb7093db2495c497 (patch)
tree12403ee4c1e6b506dd64bfba1f19cc11f3470222 /x11-libs/startup-notification/startup-notification-0.10.ebuild
parentrm (diff)
downloadgentoo-2-e52005298c8c0c4a4cb81bb9bb7093db2495c497.tar.gz
gentoo-2-e52005298c8c0c4a4cb81bb9bb7093db2495c497.tar.bz2
gentoo-2-e52005298c8c0c4a4cb81bb9bb7093db2495c497.zip
Do not build test programs unless needed, bug #226257.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/startup-notification/startup-notification-0.10.ebuild')
-rw-r--r--x11-libs/startup-notification/startup-notification-0.10.ebuild20
1 files changed, 18 insertions, 2 deletions
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"
}