summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-04-05 19:04:04 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-04-05 19:04:04 +0000
commit8628136d462b6c97737fa56431a4c7ad5199f0a8 (patch)
tree741059f72c5b0f7bf88120f88a302172bf90a683 /app-crypt/opencdk
parentStable on amd64, bug #251832 (diff)
downloadgentoo-2-8628136d462b6c97737fa56431a4c7ad5199f0a8.tar.gz
gentoo-2-8628136d462b6c97737fa56431a4c7ad5199f0a8.tar.bz2
gentoo-2-8628136d462b6c97737fa56431a4c7ad5199f0a8.zip
Don't build tests with FEATURES="-test" (bug #226357).
(Portage version: 13290-svn/cvs/Linux x86_64)
Diffstat (limited to 'app-crypt/opencdk')
-rw-r--r--app-crypt/opencdk/ChangeLog8
-rw-r--r--app-crypt/opencdk/opencdk-0.6.6.ebuild21
2 files changed, 23 insertions, 6 deletions
diff --git a/app-crypt/opencdk/ChangeLog b/app-crypt/opencdk/ChangeLog
index c8d038b57907..7944b040ad0a 100644
--- a/app-crypt/opencdk/ChangeLog
+++ b/app-crypt/opencdk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/opencdk
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/opencdk/ChangeLog,v 1.68 2008/03/10 01:43:23 ricmm Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/opencdk/ChangeLog,v 1.69 2009/04/05 19:04:04 arfrever Exp $
+
+ 05 Apr 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ opencdk-0.6.6.ebuild:
+ Don't build tests with FEATURES="-test" (bug #226357).
10 Mar 2008; <ricmm@gentoo.org> opencdk-0.5.5.ebuild:
Drop to ~mips due to unstable deps
diff --git a/app-crypt/opencdk/opencdk-0.6.6.ebuild b/app-crypt/opencdk/opencdk-0.6.6.ebuild
index c6dcc3e77404..29135f341f4c 100644
--- a/app-crypt/opencdk/opencdk-0.6.6.ebuild
+++ b/app-crypt/opencdk/opencdk-0.6.6.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/opencdk/opencdk-0.6.6.ebuild,v 1.9 2008/01/14 18:48:06 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/opencdk/opencdk-0.6.6.ebuild,v 1.10 2009/04/05 19:04:04 arfrever Exp $
+
+inherit autotools
DESCRIPTION="Open Crypto Development Kit for basic OpenPGP message manipulation"
HOMEPAGE="http://www.gnutls.org/"
@@ -9,14 +11,25 @@ SRC_URI="ftp://ftp.gnutls.org/pub/gnutls/opencdk/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="doc"
+IUSE="doc test"
RDEPEND=">=dev-libs/libgcrypt-1.2.0"
DEPEND="${RDEPEND}
>=dev-lang/perl-5.6"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ if ! use test; then
+ sed -e "/SUBDIRS/s/ tests//" -i Makefile.am
+ fi
+
+ eautoreconf
+}
+
src_install() {
- make DESTDIR="${D}" install || die "installed failed"
+ emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
use doc && dohtml doc/opencdk-api.html
}