summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-06-02 00:31:06 +0000
committerMike Frysinger <vapier@gentoo.org>2004-06-02 00:31:06 +0000
commit15db838fe61504abdfec3520a1d35c989226d9e7 (patch)
treef3fece1ccec87971fc620401a61cce11f838218d /app-crypt
parentPPC stable profile (diff)
downloadhistorical-15db838fe61504abdfec3520a1d35c989226d9e7.tar.gz
historical-15db838fe61504abdfec3520a1d35c989226d9e7.tar.bz2
historical-15db838fe61504abdfec3520a1d35c989226d9e7.zip
Make smartcard support optional via USE=smartcard.
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/gnupg/ChangeLog5
-rw-r--r--app-crypt/gnupg/gnupg-1.9.8.ebuild37
2 files changed, 21 insertions, 21 deletions
diff --git a/app-crypt/gnupg/ChangeLog b/app-crypt/gnupg/ChangeLog
index c5353ed27f6e..ceb18ca68435 100644
--- a/app-crypt/gnupg/ChangeLog
+++ b/app-crypt/gnupg/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-crypt/gnupg
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.62 2004/05/05 17:43:05 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/ChangeLog,v 1.63 2004/06/02 00:31:06 vapier Exp $
+
+ 01 Jun 2004; Mike Frysinger <vapier@gentoo.org> gnupg-1.9.8.ebuild:
+ Make smartcard support optional via USE=smartcard.
05 May 2004; Tavis Ormandy <taviso@gentoo.org> gnupg-1.9.8.ebuild:
gpg-1.9.8 specifically requires >=libassuan-0.6.5, really closes
diff --git a/app-crypt/gnupg/gnupg-1.9.8.ebuild b/app-crypt/gnupg/gnupg-1.9.8.ebuild
index a9721967d7f5..f885534b46cd 100644
--- a/app-crypt/gnupg/gnupg-1.9.8.ebuild
+++ b/app-crypt/gnupg/gnupg-1.9.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.9.8.ebuild,v 1.3 2004/05/31 20:34:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/gnupg/gnupg-1.9.8.ebuild,v 1.4 2004/06/02 00:31:06 vapier Exp $
inherit eutils
@@ -11,15 +11,19 @@ SRC_URI="ftp://ftp.gnupg.org/gcrypt/alpha/gnupg/${P}.tar.gz"
LICENSE="GPL-2 | GPL-2 IDEA"
SLOT="0"
KEYWORDS="~x86 ~mips ~alpha"
-IUSE="X ldap nls caps"
+IUSE="X ldap nls caps smartcard"
-RDEPEND="!static? ( ldap? ( net-nds/openldap )
+RDEPEND="
+ !static? (
+ ldap? ( net-nds/openldap )
caps? ( sys-libs/libcap )
- sys-libs/zlib )
+ sys-libs/zlib
+ )
X? ( || ( media-gfx/xloadimage media-gfx/xli ) )
nls? ( sys-devel/gettext )
>=dev-libs/libgcrypt-1.1.42
>=dev-libs/libksba-0.4.7
+ smartcard? ( dev-libs/opensc )
virtual/glibc
dev-lang/perl
dev-libs/pth
@@ -30,23 +34,14 @@ DEPEND="caps? ( sys-libs/libcap )
>=dev-libs/libgcrypt-1.1.94
>=dev-libs/libksba-0.9.6
>=dev-libs/libassuan-0.6.5
+ smartcard? ( dev-libs/opensc )
sys-libs/zlib
virtual/glibc
dev-lang/perl
dev-libs/pth"
src_compile() {
- local myconf="--libexecdir=/usr/lib"
-
- if ! use nls; then
- myconf="${myconf} --disable-nls"
- fi
-
- if use ldap; then
- myconf="${myconf} --enable-ldap"
- else
- myconf="${myconf} --disable-ldap"
- fi
+ local myconf=""
if use X; then
local viewer
@@ -60,11 +55,13 @@ src_compile() {
myconf="${myconf} --disable-photo-viewers"
fi
- if use caps; then
- myconf="${myconf} --with-capabilities"
- fi
-
- econf ${myconf} || die
+ econf \
+ --libexecdir=/usr/lib \
+ `use_enable smartcard scdaemon` \
+ `use_enable nls` \
+ `use_enable ldap` \
+ `use_with caps capabilities` \
+ || die
emake || die
}