]> git.bzium.org/ - embe/overlay.git/blob - dev-libs/libgcrypt/libgcrypt-1.5.0.ebuild
Nowy pakiet: sys-apps/rescan-scsi-bus-1.56
[embe/overlay.git] / dev-libs / libgcrypt / libgcrypt-1.5.0.ebuild
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 $
4
5 EAPI="3"
6
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"
11
12 LICENSE="LGPL-2.1"
13 SLOT="0"
14 KEYWORDS="~x86-macos ~x64-macos"
15 IUSE="static-libs"
16
17 RDEPEND=">=dev-libs/libgpg-error-1.8"
18 DEPEND="${RDEPEND}"
19
20 src_configure() {
21         # --disable-padlock-support for bug #201917
22         econf \
23                 --disable-padlock-support \
24                 --disable-dependency-tracking \
25                 --with-pic \
26                 --enable-noexecstack \
27                 --disable-O-flag-munging \
28                 $(use_enable static-libs static)
29 }
30
31 src_install() {
32         emake DESTDIR="${D}" install || die "emake install failed"
33         dodoc AUTHORS ChangeLog NEWS README* THANKS TODO || die "dodoc failed"
34 }