/[gentoo-x86]/app-crypt/scute/scute-1.4.0.ebuild
Gentoo

Contents of /app-crypt/scute/scute-1.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Dec 25 20:46:24 2014 UTC (5 years ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Use mirror://gnupg/.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-crypt/scute/scute-1.4.0.ebuild,v 1.2 2011/04/17 00:13:45 flameeyes Exp $
4
5 EAPI=4
6
7 inherit autotools eutils libtool multilib
8
9 DESCRIPTION="A PKCS #11 module for OpenPGP smartcards"
10 HOMEPAGE="http://www.scute.org/"
11 SRC_URI="mirror://gnupg/scute/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64"
16 IUSE=""
17
18 # configure script try to check the version of gpgsm and gpg-agent when
19 # non-crosscompiling so we need to have them as build-time dependency as
20 # well as runtime. Require a version of gnupg that is patched to have
21 # gpgsm-gencert.sh working (as that's what the documentation describe).
22 DEPEND="
23 >=dev-libs/libgpg-error-1.4
24 >=dev-libs/libassuan-2.0.0
25 >=app-crypt/pinentry-0.7.0
26 >=app-crypt/gnupg-2.0.17-r1[smartcard]"
27 RDEPEND="${DEPEND}"
28
29 src_prepare() {
30 # We need no ABI versioning, reduce the number of symlinks installed
31 epatch "${FILESDIR}"/scute-1.2.0-noversion.patch
32 # Don't build tests during src_compile.
33 epatch "${FILESDIR}"/scute-1.4.0-tests.patch
34
35 eautoreconf
36 elibtoolize
37 }
38
39 src_configure() {
40 econf \
41 --libdir=/usr/$(get_libdir)/pkcs11 \
42 --with-gpgsm=/usr/bin/gpgsm \
43 --with-gpg-agent=/usr/bin/gpg-agent
44 }
45
46 src_install() {
47 emake DESTDIR="${D}" install || die "emake install failed"
48 find "${D}" -name '*.la' -delete
49 dodoc AUTHORS ChangeLog NEWS README TODO
50 }

  ViewVC Help
Powered by ViewVC 1.1.20