diff options
author | 2010-02-22 19:20:57 +0000 | |
---|---|---|
committer | 2010-02-22 19:20:57 +0000 | |
commit | 5d6153e13683daa2613548149b01c7f320e755df (patch) | |
tree | 468446213abde7d58c7cdab1a5448f14ba02c39d | |
parent | compile fsodeviced with --enable-player-gstreamer, (diff) | |
download | embedded-cross-5d6153e13683daa2613548149b01c7f320e755df.tar.gz embedded-cross-5d6153e13683daa2613548149b01c7f320e755df.tar.bz2 embedded-cross-5d6153e13683daa2613548149b01c7f320e755df.zip |
Port pkg-config inclusion to newer version of libgcrypt.
-rw-r--r-- | dev-libs/libgcrypt/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libgcrypt/libgcrypt-1.4.5.ebuild | 44 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-libs/libgcrypt/Manifest b/dev-libs/libgcrypt/Manifest index e96f2d3..fe3c973 100644 --- a/dev-libs/libgcrypt/Manifest +++ b/dev-libs/libgcrypt/Manifest @@ -1,4 +1,6 @@ AUX libgcrypt-gpg-error-pkgconfig.patch 751 RMD160 beaff3d93f045b5e89d96c9711451f2cbf83bcf5 SHA1 1791e360c0883b0b8418b5bad8d96c541975eef0 SHA256 a327393eabcd9071e7a2d3f011b376b2be46f05d42b91a512ab88cd57c2690dc AUX libgcrypt-pkgconfig-support.patch 6070 RMD160 8a1e91fd3862c7bdce1a75a984abd388d953b9a4 SHA1 44598fe3ec17b7e2589eb2f4140ada47fc53664f SHA256 4644ed6d10366c74e7c00a6a863da6a6a9b4f250572722568130e92b5e2be97f DIST libgcrypt-1.4.4.tar.bz2 1143139 RMD160 65fd66687bd17bc8a680c59f26a8edf3e21e7dbf SHA1 3987f0efcbb7048c136d5c859e88eee1763a14f6 SHA256 3212b88080cf8fa006164d38fc176fafa5c29591c8384f284ab880db0dbf306f +DIST libgcrypt-1.4.5.tar.bz2 1148382 RMD160 5f43147cb40beb903cc1a620d2706eb08c66a889 SHA1 ef7ecbd3a03a7978094366bcd1257b3654608d28 SHA256 496f907c5324de75367ec61c63bfeed1309ef0bc64845dc20b3597731abd9e40 EBUILD libgcrypt-1.4.4.ebuild 1346 RMD160 456e11fd4f06a680283441ba911e4327cf2a6f00 SHA1 36811f2daaa8508a059dcb37c4709bc68bd40c13 SHA256 87d5c43dcc7929439f30e19189eb83304e59109f70bf07b1dfdbcf70866c0689 +EBUILD libgcrypt-1.4.5.ebuild 1221 RMD160 e41484e7310878379737a3636a5035f50dbc56e2 SHA1 94c22cb4ae226e60932a7b5c3f401a2b5b762a36 SHA256 eb440f7aea43b3995c18b8844fe784e76d9e286c213ec9bef47cd46c08e53a42 diff --git a/dev-libs/libgcrypt/libgcrypt-1.4.5.ebuild b/dev-libs/libgcrypt/libgcrypt-1.4.5.ebuild new file mode 100644 index 0000000..9d25e0e --- /dev/null +++ b/dev-libs/libgcrypt/libgcrypt-1.4.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgcrypt/libgcrypt-1.4.5.ebuild,v 1.6 2010/02/07 16:18:02 armin76 Exp $ + +EAPI="2" + +inherit autotools eutils flag-o-matic toolchain-funcs + +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="" + +RDEPEND=">=dev-libs/libgpg-error-1.5" +DEPEND="${RDEPEND}" + +src_prepare() { + # Add pkg-config support to this package (for easier cross-compilation). + epatch "${FILESDIR}/${PN}-gpg-error-pkgconfig.patch" + epatch "${FILESDIR}/${PN}-pkgconfig-support.patch" + + eautoreconf + + epunt_cxx +} + +src_configure() { + # --disable-padlock-support for bug #201917 + econf \ + --disable-padlock-support \ + --disable-dependency-tracking \ + --with-pic \ + --enable-noexecstack +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README* THANKS TODO +} |