1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/openvpn/openvpn-9999.ebuild,v 1.7 2013/05/03 07:56:29 djc Exp $
7 inherit eutils autotools flag-o-matic user git-2
9 DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
10 EGIT_REPO_URI="git://git.gnupg.org/${PN}.git"
11 #EGIT_COMMIT="a77ed0f266d03e234027dda4de5a7f3dd6787b1e"
12 HOMEPAGE="http://gnupg.org/"
16 KEYWORDS="~amd64 ~x86"
20 # Restrict test as it fails with ecc key generation atm
25 >=dev-libs/libassuan-2.1:0
26 >=dev-libs/libgcrypt-1.6
27 >=dev-libs/libgpg-error-1.11:0
28 >=dev-libs/libksba-1.2.0:0
29 >=net-libs/gnutls-3.3.1:0
31 >=net-misc/curl-7.10:0"
33 BDEPEND="dev-vcs/git:0
44 epatch "${FILESDIR}/gnupg_master_0002-Fix-building-with-GNU-Automake-1.13.patch"
46 autoreconf || die "Autoreconf fail"
47 ./autogen.sh || die "Autgen script failed"
52 --program-prefix='gpg2.1-' \
53 --infodir=/usr/share/info/gnupg2.1 \
54 --datarootdir=/usr/share/gnupg2.1 \
55 --docdir=/usr/share/doc/gnupg2.1 \
56 --enable-maintainer-mode \
57 --enable-symcryptrun \
59 --enable-gpgtar || die "Configure fail"
64 dosym gpg2.1-gpg2 /usr/bin/gpg2.1
65 dosym gpg2.1-gpg-agent /usr/bin/gpg2.1-agent
66 dosym gpg2.1-dirmngr /usr/bin/dirmngr
67 dosym gpg2.1-dirmngr-client /usr/bin/dirmngr-client