diff options
-rw-r--r-- | dev-libs/libgcrypt/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libgcrypt/files/libgcrypt-1.4.6-BJA-no-tests.diff | 13 | ||||
-rw-r--r-- | dev-libs/libgcrypt/libgcrypt-1.4.6.ebuild | 44 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/libgcrypt/Manifest b/dev-libs/libgcrypt/Manifest new file mode 100644 index 00000000..dff5cd5e --- /dev/null +++ b/dev-libs/libgcrypt/Manifest @@ -0,0 +1,3 @@ +AUX libgcrypt-1.4.6-BJA-no-tests.diff 504 RMD160 363bd17f52989e7b24152dec5182d41c6e7aec31 SHA1 cfab9e346cf519827c5a100996e6f67af8d92429 SHA256 0db1e0eb9d3009d9a75a0894ef15ac1af1c5f04f3f65ea429b5cca2b0e3506a6 +DIST libgcrypt-1.4.6.tar.bz2 1151877 RMD160 d4d720c4bfe80f0799b2cbdbbb49d304e3195049 SHA1 445b9e158aaf91e24eae3d1040c6213e9d9f5ba6 SHA256 3e4b30da6b357b565333d0222133b64a0414be99ba72733081165c8ea9bc6b85 +EBUILD libgcrypt-1.4.6.ebuild 1172 RMD160 3783acb113311a9cfe20589614204a0cc9dee2db SHA1 ffa087607661b4dfdce5b1097e610f87547d19fb SHA256 fe653ac95bba87514d4fdcb31c4c8ac072bed76b72a981e451883f836ad68951 diff --git a/dev-libs/libgcrypt/files/libgcrypt-1.4.6-BJA-no-tests.diff b/dev-libs/libgcrypt/files/libgcrypt-1.4.6-BJA-no-tests.diff new file mode 100644 index 00000000..64643d86 --- /dev/null +++ b/dev-libs/libgcrypt/files/libgcrypt-1.4.6-BJA-no-tests.diff @@ -0,0 +1,13 @@ +--- Makefile.am.ori 2011-07-29 10:17:15.752080316 +0200 ++++ Makefile.am 2011-07-29 10:17:25.999125293 +0200 +@@ -22,8 +22,8 @@ + DISTCHECK_CONFIGURE_FLAGS = --enable-random-daemon \ + --enable-ciphers=arcfour:blowfish:cast5:des:aes:twofish:serpent:rfc2268:seed:camellia + +-DIST_SUBDIRS = m4 mpi cipher random src doc tests +-SUBDIRS = mpi cipher random src doc tests ++DIST_SUBDIRS = m4 mpi cipher random src doc ++SUBDIRS = mpi cipher random src doc + EXTRA_DIST = autogen.sh README.SVN + DISTCLEANFILES = + diff --git a/dev-libs/libgcrypt/libgcrypt-1.4.6.ebuild b/dev-libs/libgcrypt/libgcrypt-1.4.6.ebuild new file mode 100644 index 00000000..ac61fa16 --- /dev/null +++ b/dev-libs/libgcrypt/libgcrypt-1.4.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.6.ebuild,v 1.12 2011/01/29 17:32:34 arfrever Exp $ + +EAPI="3" + +inherit autotools eutils + +DESCRIPTION="General purpose crypto library based on the code used in GnuPG" +HOMEPAGE="http://www.gnupg.org/" +SRC_URI="mirror://gnupg/libgcrypt/${P}.tar.bz2 + ftp://ftp.gnupg.org/gcrypt/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" +IUSE="static-libs" + +RDEPEND=">=dev-libs/libgpg-error-1.5" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${P}-BJA-no-tests.diff + + # Fix build failure with non-bash /bin/sh. + eautoreconf + + epunt_cxx +} + +src_configure() { + # --disable-padlock-support for bug #201917 + econf \ + --disable-padlock-support \ + --disable-dependency-tracking \ + --with-pic \ + --enable-noexecstack \ + $(use_enable static-libs static) +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README* THANKS TODO || die "dodoc failed" +} |