net-misc/sks: Add explicit slot dependencies
[portage-overlay.git] / app-crypt / gnupg / gnupg-9999.ebuild
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 $
4
5 EAPI=4
6
7 inherit eutils autotools flag-o-matic user git-2
8
9 DESCRIPTION="The GNU Privacy Guard, a GPL pgp replacement"
10 EGIT_REPO_URI="git://git.gnupg.org/${PN}.git"
11 HOMEPAGE="http://gnupg.org/"
12
13 LICENSE="GPL-2"
14 SLOT="2.1"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="+localprefix"
17
18 REQUIRED_USE=""
19 WANT_AUTOMAKE="1.13"
20
21 COMMON_DEPEND_LIBS="
22     >=dev-libs/libassuan-2.1
23     >=dev-libs/libgcrypt-1.5
24     >=dev-libs/libgpg-error-1.11
25     >=dev-libs/libksba-1.2.0
26     >=dev-libs/npth-0.91
27     >=net-misc/curl-7.10"
28
29 BDEPEND="dev-vcs/git
30         media-gfx/transfig"
31
32 DEPEND="
33         ${COMMON_DEPEND_LIBS}
34         net-nds/openldap
35         ${BDEPEND}"
36
37 RDEPEND="${DEPEND}"
38
39 src_prepare() {
40         epatch "${FILESDIR}/gnupg_master_0002-Fix-building-with-GNU-Automake-1.13.patch"
41
42         ./autogen.sh || die "Autgen script failed"
43 }
44
45 src_configure() {
46         local myconf2; 
47
48         if use localprefix; then
49                 myconf2+=(
50                         --prefix=/usr/local
51                         --datarootdir=/usr/local
52                 )
53         fi
54
55         ./configure \
56                 ${myconf2[@]} \
57                 --enable-maintainer-mode \
58                 --enable-symcryptrun \
59                 --enable-mailto \
60                 --enable-gpgtar || die
61 }