1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.5.0.ebuild,v 1.1 2011/07/01 21:49:52 hwoarang Exp $
7 DESCRIPTION="General purpose crypto library based on the code used in GnuPG"
8 HOMEPAGE="http://www.gnupg.org/"
9 SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2
10 ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2"
14 KEYWORDS="~x86-macos ~x64-macos"
17 RDEPEND=">=dev-libs/libgpg-error-1.8"
21 # --disable-padlock-support for bug #201917
23 --disable-padlock-support \
24 --disable-dependency-tracking \
26 --enable-noexecstack \
27 --disable-O-flag-munging \
28 $(use_enable static-libs static)
32 emake DESTDIR="${D}" install || die "emake install failed"
33 dodoc AUTHORS ChangeLog NEWS README* THANKS TODO || die "dodoc failed"