summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-27 00:41:15 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-27 00:41:15 +0000
commitf57f28497d10df7f43af89d7498749a4babffad4 (patch)
tree7eade91ad4b2469b0fe0d5839a80f325e48d8eb0 /app-text/pdf2djvu
parentMissing test in IUSE (diff)
downloadgentoo-2-f57f28497d10df7f43af89d7498749a4babffad4.tar.gz
gentoo-2-f57f28497d10df7f43af89d7498749a4babffad4.tar.bz2
gentoo-2-f57f28497d10df7f43af89d7498749a4babffad4.zip
Run testsuite only if USE graphicsmagick is enabled wrt #325683 by Diego E. Pettenò.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-text/pdf2djvu')
-rw-r--r--app-text/pdf2djvu/ChangeLog6
-rw-r--r--app-text/pdf2djvu/pdf2djvu-0.7.4.ebuild8
2 files changed, 12 insertions, 2 deletions
diff --git a/app-text/pdf2djvu/ChangeLog b/app-text/pdf2djvu/ChangeLog
index 5a33a3c62659..2cf18fb68610 100644
--- a/app-text/pdf2djvu/ChangeLog
+++ b/app-text/pdf2djvu/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/pdf2djvu
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/ChangeLog,v 1.1 2010/06/23 10:22:14 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/ChangeLog,v 1.2 2010/06/27 00:41:15 ssuominen Exp $
+
+ 27 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> pdf2djvu-0.7.4.ebuild:
+ Run testsuite only if USE graphicsmagick is enabled wrt #325683 by Diego
+ E. Pettenò.
*pdf2djvu-0.7.4 (23 Jun 2010)
diff --git a/app-text/pdf2djvu/pdf2djvu-0.7.4.ebuild b/app-text/pdf2djvu/pdf2djvu-0.7.4.ebuild
index c99ddf87e092..b092408d2027 100644
--- a/app-text/pdf2djvu/pdf2djvu-0.7.4.ebuild
+++ b/app-text/pdf2djvu/pdf2djvu-0.7.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/pdf2djvu-0.7.4.ebuild,v 1.1 2010/06/23 10:22:14 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pdf2djvu/pdf2djvu-0.7.4.ebuild,v 1.2 2010/06/27 00:41:15 ssuominen Exp $
EAPI=2
inherit toolchain-funcs
@@ -34,6 +34,12 @@ src_configure() {
$(use_with graphicsmagick)
}
+src_test() {
+ if use graphicsmagick; then
+ emake test || die
+ fi
+}
+
src_install() {
emake DESTDIR="${D}" install || die
dodoc doc/*.txt