# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit autotools eutils libtool DESCRIPTION="A PKCS #11 module that adds support for the OpenPGP smartcard card to the Mozilla Network Security Services (NSS)." HOMEPAGE="http://www.scute.org/" SRC_URI=" #mirror://gnupg/gcrypt/scute/${P}.tar.bz2 ftp://ftp.gnupg.org/gcrypt/scute/${P}.tar.bz2" LICENSE="GPL-2" SLOT="1" KEYWORDS="~arm ~amd64 ~sparc ~x86" IUSE="" DEPEND=" >=dev-libs/libgpg-error-1.4 >=dev-libs/libassuan-2.0.0 >=app-crypt/pinentry-0.7.0" RDEPEND=" || ( dev-libs/nss www-client/firefox-bin www-client/seamonkey-bin ) || ( >=app-crypt/gnupg-2.0[openct] >=app-crypt/gnupg-2.0[pcsc-lite] >=app-crypt/gnupg-2.0[smartcard] ) ${DEPEND}" #src_prepare() { # eautoreconf # elibtoolize # epunt_cxx #} src_configure() { econf } src_compile() { emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed" }